Okay I don’t see any reply to this problem. I’m tempted to create a new topic, will that generate a reply? I’ve tried twice now to upgrade WP, but when I go to finish the upgrade I get:
Fatal error: Call to undefined function: stripslashes_deep() in …/wp-settings.php on line 189
Line 189 is this, in the code given below:
$_GET = stripslashes_deep($_GET );
There is no stripslashes function in the “wp-settings.php” or in the “pluggable-functions.php” at all. Is this an oversight in the new version of WP?
Please help! More code provided below. And thank you, I know you’re busy!
require (ABSPATH . WPINC . ‘/pluggable-functions.php’);
if ( defined(‘WP_CACHE’) && function_exists(‘wp_cache_postload’) )
wp_cache_postload();
do_action(‘plugins_loaded’);
// If already slashed, strip.
if ( get_magic_quotes_gpc() ) {
$_GET = stripslashes_deep($_GET );
$_POST = stripslashes_deep($_POST );
$_COOKIE = stripslashes_deep($_COOKIE);
}
// Escape with wpdb.
$_GET = add_magic_quotes($_GET );
$_POST = add_magic_quotes($_POST );
$_COOKIE = add_magic_quotes($_COOKIE);
$_SERVER = add_magic_quotes($_SERVER);
do_action(‘sanitize_comment_cookies’);