Deprecated preg_replace usage
-
I get these messages every time I run a scan:
Sep 19 13:12:12] preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead (8192) File: /var/www/example.com/wp-content/plugins/wordfence/lib/wordfenceURLHoover.php Line: 53 [Sep 19 13:12:12] preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead (8192) File: /var/www/example.com/wp-content/plugins/wordfence/lib/wordfenceURLHoover.php Line: 49
The /e modifier in preg_replace is deprecated as of PHP 5.5 for security reasons, and you should modify the code to use preg_replace_callback instead.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Deprecated preg_replace usage’ is closed to new replies.