Make WordPress Core

Changeset 31513


Ignore:
Timestamp:
02/22/2015 09:47:30 PM (10 years ago)
Author:
azaozz
Message:

Improve table footer tab sequence by moving <tfoot> after <tbody>. Props afercia, rianrietveld, DrewAPicture. Fixes #30914.

Location:
trunk/src/wp-admin
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r31505 r31513  
    16321632.widefat th,
    16331633.widefat td {
    1634     overflow: hidden;
    16351634    color: #555;
    16361635}
  • trunk/src/wp-admin/css/list-tables.css

    r31507 r31513  
    476476}
    477477
    478 th.manage-column a,
    479 th.sortable a:hover,
    480 th.sortable a:active,
    481 th.sortable a:focus {
    482     color: #32373c;
    483 }
    484 
    485 th.sortable a:focus {
    486     background: #e1e1e1;
    487 }
    488 
    489478.fixed .column-comments.sortable a,
    490479.fixed .column-comments.sorted a {
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r31161 r31513  
    337337    </thead>
    338338
     339    <tbody id="the-comment-list" data-wp-lists="list:comment">
     340        <?php $this->display_rows_or_placeholder(); ?>
     341    </tbody>
     342
     343    <tbody id="the-extra-comment-list" data-wp-lists="list:comment" style="display: none;">
     344        <?php $this->items = $this->extra_items; $this->display_rows(); ?>
     345    </tbody>
     346
    339347    <tfoot>
    340348    <tr>
     
    343351    </tfoot>
    344352
    345     <tbody id="the-comment-list" data-wp-lists="list:comment">
    346         <?php $this->display_rows_or_placeholder(); ?>
    347     </tbody>
    348 
    349     <tbody id="the-extra-comment-list" data-wp-lists="list:comment" style="display: none;">
    350         <?php $this->items = $this->extra_items; $this->display_rows(); ?>
    351     </tbody>
    352353</table>
    353354<?php
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r31438 r31513  
    940940    </thead>
    941941
    942     <tfoot>
    943     <tr>
    944         <?php $this->print_column_headers( false ); ?>
    945     </tr>
    946     </tfoot>
    947 
    948942    <tbody id="the-list"<?php
    949943        if ( $singular ) {
     
    952946        <?php $this->display_rows_or_placeholder(); ?>
    953947    </tbody>
     948
     949    <tfoot>
     950    <tr>
     951        <?php $this->print_column_headers( false ); ?>
     952    </tr>
     953    </tfoot>
     954
    954955</table>
    955956<?php
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r31331 r31513  
    336336        $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all';
    337337        if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) )
    338             $posts_columns['comments'] = '<span class="vers"><span title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></span></span>';
     338            $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
    339339
    340340        $posts_columns['date'] = __( 'Date' );
  • trunk/src/wp-admin/nav-menus.php

    r31272 r31513  
    574574                </tr>
    575575                </thead>
    576                 <!--<tfoot>
    577                 <tr>
    578                     <th scope="col" class="manage-column column-locations"><?php _e( 'Theme Location' ); ?></th>
    579                     <th scope="col" class="manage-column column-menus"><?php _e( 'Assigned Menu' ); ?></th>
    580                 </tr>
    581                 </tfoot>-->
    582576                <tbody class="menu-locations">
    583577                <?php foreach ( $locations as $_location => $_name ) { ?>
  • trunk/src/wp-admin/update-core.php

    r31382 r31513  
    232232    </thead>
    233233
    234     <tfoot>
    235     <tr>
    236         <th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all-2" /></th>
    237         <th scope="col" class="manage-column"><label for="plugins-select-all-2"><?php _e('Select All'); ?></label></th>
    238     </tr>
    239     </tfoot>
    240234    <tbody class="plugins">
    241235<?php
     
    283277?>
    284278    </tbody>
     279
     280    <tfoot>
     281    <tr>
     282        <th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all-2" /></th>
     283        <th scope="col" class="manage-column"><label for="plugins-select-all-2"><?php _e( 'Select All' ); ?></label></th>
     284    </tr>
     285    </tfoot>
    285286</table>
    286287<p><input id="upgrade-plugins-2" class="button" type="submit" value="<?php esc_attr_e('Update Plugins'); ?>" name="upgrade" /></p>
     
    314315    </thead>
    315316
    316     <tfoot>
    317     <tr>
    318         <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all-2" /></th>
    319         <th scope="col" class="manage-column"><label for="themes-select-all-2"><?php _e('Select All'); ?></label></th>
    320     </tr>
    321     </tfoot>
    322317    <tbody class="plugins">
    323318<?php
     
    331326?>
    332327    </tbody>
     328
     329    <tfoot>
     330    <tr>
     331        <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all-2" /></th>
     332        <th scope="col" class="manage-column"><label for="themes-select-all-2"><?php _e( 'Select All' ); ?></label></th>
     333    </tr>
     334    </tfoot>
    333335</table>
    334336<p><input id="upgrade-themes-2" class="button" type="submit" value="<?php esc_attr_e('Update Themes'); ?>" name="upgrade" /></p>
Note: See TracChangeset for help on using the changeset viewer.