_SERVER is not escaped by magic_quotes_gpc so don't strip it.
git-svn-id: https://develop.svn.wordpress.org/trunk@3572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ba5d6bafdd
commit
966f2abfe2
@ -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
Block a user