Superglobals: Revert [34059] until further notice.

see #33837.


git-svn-id: https://develop.svn.wordpress.org/trunk@34265 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2015-09-17 12:32:20 +00:00
parent 8c65cfc7f4
commit 3531c0bc10
12 changed files with 16 additions and 44 deletions

View File

@@ -28,7 +28,7 @@ nocache_headers();
/** This action is documented in wp-admin/admin.php */
do_action( 'admin_init' );
$action = wp_validate_action();
$action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action'];
if ( ! wp_validate_auth_cookie() ) {
if ( empty( $action ) ) {