Users: Fix notice error in WP_Posts_List_Table class.

Fix notice error introduced in [53011] as the variable `$authors_dropdown` is now conditionally loaded. 

Follow-up to [53011].

Props Spacedmonkey, dd32, johnbillion. 
See #38741. 


Built from https://develop.svn.wordpress.org/trunk@53049


git-svn-id: http://core.svn.wordpress.org/trunk@52638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
spacedmonkey 2022-04-01 11:43:05 +00:00
parent 9d3325a3a8
commit 1c5733e796
2 changed files with 2 additions and 2 deletions

View File

@ -1748,7 +1748,7 @@ class WP_Posts_List_Table extends WP_List_Table {
<div class="inline-edit-col">
<?php
if ( post_type_supports( $screen->post_type, 'author' ) && $bulk ) {
if ( post_type_supports( $screen->post_type, 'author' ) && ! wp_is_large_user_count() && $bulk ) {
echo $authors_dropdown;
}
?>

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-53048';
$wp_version = '6.0-alpha-53049';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.