Fix warning. Props filosofo. fixes #13764
git-svn-id: https://develop.svn.wordpress.org/trunk@15157 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ccbfa3b52b
commit
d3b81268cb
@ -571,7 +571,7 @@ switch ( $_GET['action'] ) {
|
||||
if ( ! current_user_can( 'manage_network_users' ) )
|
||||
wp_die( __( 'You do not have permission to access this page.' ) );
|
||||
|
||||
if ( is_array( $_POST['blog'] ) && ! empty( $_POST['blog'] ) ) {
|
||||
if ( ! empty( $_POST['blog'] ) && is_array( $_POST['blog'] ) ) {
|
||||
foreach ( $_POST['blog'] as $id => $users ) {
|
||||
foreach ( $users as $blogid => $user_id ) {
|
||||
if ( ! empty( $_POST['delete'] ) && 'reassign' == $_POST['delete'][$blogid][$id] )
|
||||
|
Loading…
Reference in New Issue
Block a user