Support » Plugin: Email Users » create_function() deprecated

  • As create_function() have been deprecated and removed in PHP 8, can someone rewrite the code starting on line 885 in email-users.php?

    $fn = create_function('', 'global $mailusers_mf, $mailusers_mv, $mailusers_mc; $mailusers_mf = \'' . $mf['meta_filter'] . '\' ; $mailusers_mv = \'' . $mf['meta_value'] . '\' ; $mailusers_mc = \'' . $mf['meta_compare'] . '\' ; require(\'email_users_send_custom_filter_mail.php\') ;');

    Thanks`

    • This topic was modified 2 months, 2 weeks ago by Krokkodriljo.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.