No longer need to work around zend_hash_del_key_or_index bug. fixes #24029. see [4717]
git-svn-id: http://core.svn.wordpress.org/trunk@23947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
63e67b414b
commit
b2d13224ec
|
@ -27,7 +27,6 @@ function wp_unregister_GLOBALS() {
|
|||
$input = array_merge( $_GET, $_POST, $_COOKIE, $_SERVER, $_ENV, $_FILES, isset( $_SESSION ) && is_array( $_SESSION ) ? $_SESSION : array() );
|
||||
foreach ( $input as $k => $v )
|
||||
if ( !in_array( $k, $no_unset ) && isset( $GLOBALS[$k] ) ) {
|
||||
$GLOBALS[$k] = null;
|
||||
unset( $GLOBALS[$k] );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue