pre_replace /e deprecated -> callback for PHP 5.6
-
Hello,
on a very old WP install (2.0) I need to upgrade PHP to 5.6 (provider). Don’t want to put much effort in the site (upgrade WP).
I only need to change this line to a callback function – as a non-coder, I don’t know how!:
$pee = preg_replace('!(<pre.*?>)(.*?)</pre>!ise', " stripslashes('$1') . stripslashes(clean_pre('$2')) . '</pre>' ", $pee);
This is an example but I can’t adapt to my line.Any help much appreciated!
The blog I need help with is: (visible only to logged in users)
-
Hi @wishbone2design,
Your site is using the self-hosted version of WordPress, and you need to seek help at the WordPress.org forums:
https://wordpress.org/support/forums/
These forums are for WordPress.com hosted sites only :)
Thanks !!!
- The topic ‘pre_replace /e deprecated -> callback for PHP 5.6’ is closed to new replies.