create_function is deprecated in PHP 7.2
-
Line 112 of latest version (0.5.5) uses a function deprecated in PHP 7.2
Now the minimum PHP version for WordPress has been increased, this can be replaced with:
add_filter('pre_comment_approved', function($a) { return 'spam'; }); // thanks Akismet
Cheers
Rob
- The topic ‘create_function is deprecated in PHP 7.2’ is closed to new replies.