Users: Adjust [45806] to make sure `$all_userids` is always defined.
Props kbrownkd. Fixes #47936. Built from https://develop.svn.wordpress.org/trunk@45890 git-svn-id: http://core.svn.wordpress.org/trunk@45701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c896a0911e
commit
fe0b22cd67
|
@ -234,9 +234,10 @@ switch ( $wp_list_table->current_action() ) {
|
|||
$userids = array_map( 'intval', (array) $_REQUEST['users'] );
|
||||
}
|
||||
|
||||
$all_userids = $userids;
|
||||
|
||||
if ( in_array( $current_user->ID, $userids ) ) {
|
||||
$all_userids = $userids;
|
||||
$userids = array_diff( $userids, array( $current_user->ID ) );
|
||||
$userids = array_diff( $userids, array( $current_user->ID ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45889';
|
||||
$wp_version = '5.3-alpha-45890';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue