git-svn-id: http://svn.automattic.com/wordpress/trunk@15471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -104,7 +104,7 @@ switch ( $_GET['action'] ) {
|
||||
$move_users = array();
|
||||
foreach ( (array)$users as $user ) {
|
||||
$user_meta_value = unserialize( $user->meta_value );
|
||||
if ( is_array( $user_meta_value ) && array_pop( array_keys( $user_meta_value ) ) == 'subscriber' )
|
||||
if ( is_array( $user_meta_value ) && array_pop( $var_by_ref = array_keys( $user_meta_value ) ) == 'subscriber' )
|
||||
$move_users[] = $user->user_id;
|
||||
}
|
||||
if ( false == empty( $move_users ) ) {
|
||||
|
||||
Reference in New Issue
Block a user