diff --git a/wp-includes/load.php b/wp-includes/load.php index 8a949629fe..55bb6dfac8 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -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] ); } }