Fix bulk network users nonce. Props duck_. fixes #15168
git-svn-id: https://develop.svn.wordpress.org/trunk@15905 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e48ac3e78
commit
8b52b36850
@ -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
Block a user