_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:
parent
1de4321d0b
commit
be1f99d329
|
@ -192,7 +192,6 @@ if ( get_magic_quotes_gpc() ) {
|
|||
$_GET = stripslashes_deep($_GET );
|
||||
$_POST = stripslashes_deep($_POST );
|
||||
$_COOKIE = stripslashes_deep($_COOKIE);
|
||||
$_SERVER = stripslashes_deep($_SERVER);
|
||||
}
|
||||
|
||||
// Escape with wpdb.
|
||||
|
|
Loading…
Reference in New Issue