mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 12:35:03 +00:00
_SERVER is not escaped by magic_quotes_gpc so don't strip it.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7ddf41069e
commit
b66c98e979
@ -190,7 +190,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…
x
Reference in New Issue
Block a user