Fix bulk network users nonce. Props duck_. fixes #15168
git-svn-id: http://svn.automattic.com/wordpress/trunk@15905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
14ccdbec33
commit
57fe65fd6d
|
@ -381,7 +381,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' );
|
||||
check_admin_referer( 'bulk-users-network' );
|
||||
|
||||
if ( $_GET['action'] != -1 || $_POST['action2'] != -1 )
|
||||
$doaction = $_POST['action'] != -1 ? $_POST['action'] : $_POST['action2'];
|
||||
|
|
Loading…
Reference in New Issue