From 84771d91a81bc4d46d0258f0e380864c5b36729b Mon Sep 17 00:00:00 2001 From: scribu Date: Thu, 9 Sep 2010 10:17:31 +0000 Subject: [PATCH] Fix MS Sites nonce. See #14579 git-svn-id: https://develop.svn.wordpress.org/trunk@15602 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/network/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/network/edit.php b/wp-admin/network/edit.php index fb5b1659d1..df775bfc8e 100644 --- a/wp-admin/network/edit.php +++ b/wp-admin/network/edit.php @@ -396,7 +396,7 @@ switch ( $_GET['action'] ) { case 'allblogs': if ( isset( $_POST['doaction']) || isset($_POST['doaction2'] ) ) { - check_admin_referer( 'bulk-ms-sites', '_wpnonce_bulk-ms-sites' ); + check_admin_referer( 'bulk-sites' ); if ( ! current_user_can( 'manage_sites' ) ) wp_die( __( 'You do not have permission to access this page.' ) ); @@ -582,7 +582,7 @@ switch ( $_GET['action'] ) { wp_die( __( 'You do not have permission to access this page.' ) ); if ( isset( $_POST['doaction']) || isset($_POST['doaction2'] ) ) { - check_admin_referer( 'bulk-ms-users', '_wpnonce_bulk-ms-users' ); + check_admin_referer( 'bulk-ms-users' ); if ( $_GET['action'] != -1 || $_POST['action2'] != -1 ) $doaction = $_POST['action'] != -1 ? $_POST['action'] : $_POST['action2'];