WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/30/2015 12:46:15 AM (5 years ago)
Author:
wonderboymusic
Message:

List Tables: only hide bulk actions when there are no items, don't hide all of the extra table nav.

Fixes #33824.

File:
1 edited

Legend:

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

    r34636 r34707  
    218218    ?>
    219219    <div class="alignleft actions">
    220         <?php if ( current_user_can( 'promote_users' ) ) : ?>
     220        <?php if ( current_user_can( 'promote_users' ) && $this->has_items() ) : ?>
    221221        <label class="screen-reader-text" for="<?php echo $id ?>"><?php _e( 'Change role to&hellip;' ) ?></label>
    222222        <select name="<?php echo $id ?>" id="<?php echo $id ?>">
Note: See TracChangeset for help on using the changeset viewer.