Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is a replacement for the deprecated create_function() in search-everything.php of the Search Everything plugin.
- //$search_terms = array_filter(array_map( create_function( '$a', 'return trim($a, "\\"\'\\n\\r ");' ), $matches[0] ));
- $search_terms = array_filter(array_map( function($a) { return trim($a, "\\'\'\\n\\r ");}, $matches[0] ));
Add Comment
Please, Sign In to add comment