_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:
Ryan Boren 2006-02-28 01:52:59 +00:00
parent ba5d6bafdd
commit 966f2abfe2

View File

@ -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.