_SERVER is not escaped by magic_quotes_gpc so don't strip it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -192,7 +192,6 @@ if ( get_magic_quotes_gpc() ) {
|
|||||||
$_GET = stripslashes_deep($_GET );
|
$_GET = stripslashes_deep($_GET );
|
||||||
$_POST = stripslashes_deep($_POST );
|
$_POST = stripslashes_deep($_POST );
|
||||||
$_COOKIE = stripslashes_deep($_COOKIE);
|
$_COOKIE = stripslashes_deep($_COOKIE);
|
||||||
$_SERVER = stripslashes_deep($_SERVER);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Escape with wpdb.
|
// Escape with wpdb.
|
||||||
|
|||||||
Reference in New Issue
Block a user