WordPress.org

Make WordPress Core

Ticket #37165: 37165.2.diff

File 37165.2.diff, 1.2 KB (added by mariovalney, 3 years ago)
  • src/wp-admin/css/list-tables.css

    diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css
    index 91b1a2c9ce..4330b4ff95 100644
    a b th.asc a:focus span.sorting-indicator { 
    683683        padding: 2px 8px 0 0;
    684684}
    685685
     686.tablenav .actions:empty {
     687        display: none;
     688}
     689
    686690.wp-filter .actions {
    687691        display: inline-block;
    688692        vertical-align: middle;
  • src/wp-admin/includes/class-wp-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php
    index 53ef0bc8b8..c7093ddbd8 100644
    a b class WP_List_Table { 
    12111211        <div class="tablenav <?php echo esc_attr( $which ); ?>">
    12121212
    12131213                <?php if ( $this->has_items() ) : ?>
    1214                 <div class="alignleft actions bulkactions">
    1215                         <?php $this->bulk_actions( $which ); ?>
    1216                 </div>
    1217                         <?php
    1218                 endif;
    1219                 $this->extra_tablenav( $which );
    1220                 $this->pagination( $which );
     1214                        <div class="alignleft actions bulkactions"><?php $this->bulk_actions( $which ); ?></div>
     1215                <?php
     1216                        endif;
     1217                        $this->extra_tablenav( $which );
     1218                        $this->pagination( $which );
    12211219                ?>
    12221220
    12231221                <br class="clear" />