Quantcast
Channel: WordPress.org Forums » [Wordfence Security - Firewall, Malware Scan, and Login Security] Support
Viewing all articles
Browse latest Browse all 32701

Daniel15 on "[Plugin: Wordfence Security] Deprecated preg_replace usage"

$
0
0

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.

http://wordpress.org/plugins/wordfence/


Viewing all articles
Browse latest Browse all 32701

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>