Make WordPress Core


Ignore:
Timestamp:
04/01/2022 11:41:23 AM (3 years ago)
Author:
spacedmonkey
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r53023 r53049  
    17491749
    17501750                <?php
    1751                 if ( post_type_supports( $screen->post_type, 'author' ) && $bulk ) {
     1751                if ( post_type_supports( $screen->post_type, 'author' ) && ! wp_is_large_user_count() && $bulk ) {
    17521752                    echo $authors_dropdown;
    17531753                }
Note: See TracChangeset for help on using the changeset viewer.