Make WordPress Core

Ticket #30914: 30914.2.patch

File 30914.2.patch, 5.6 KB (added by DrewAPicture, 11 years ago)
  • src/wp-admin/css/list-tables.css

     
    475475        padding: 7px 7px 8px 10px;
    476476}
    477477
    478 th.manage-column a,
    479 th.sortable a:hover,
    480 th.sortable a:active,
    481 th.sortable a:focus {
    482         color: #333;
    483 }
    484 
    485 th.sortable a:focus {
    486         background: #e1e1e1;
    487 }
    488 
    489478.fixed .column-comments.sortable a,
    490479.fixed .column-comments.sorted a {
    491480        padding: 8px 0;
  • src/wp-admin/includes/class-wp-comments-list-table.php

     
    336336        </tr>
    337337        </thead>
    338338
    339         <tfoot>
    340         <tr>
    341                 <?php $this->print_column_headers( false ); ?>
    342         </tr>
    343         </tfoot>
    344 
    345339        <tbody id="the-comment-list" data-wp-lists="list:comment">
    346340                <?php $this->display_rows_or_placeholder(); ?>
    347341        </tbody>
     
    349343        <tbody id="the-extra-comment-list" data-wp-lists="list:comment" style="display: none;">
    350344                <?php $this->items = $this->extra_items; $this->display_rows(); ?>
    351345        </tbody>
     346
     347        <tfoot>
     348        <tr>
     349                <?php $this->print_column_headers( false ); ?>
     350        </tr>
     351        </tfoot>
     352
    352353</table>
    353354<?php
    354355
  • src/wp-admin/includes/class-wp-list-table.php

     
    927927        </tr>
    928928        </thead>
    929929
     930        <tbody id="the-list"<?php
     931                if ( $singular ) {
     932                        echo " data-wp-lists='list:$singular'";
     933                } ?>>
     934                <?php $this->display_rows_or_placeholder(); ?>
     935        </tbody>
     936
    930937        <tfoot>
    931938        <tr>
    932939                <?php $this->print_column_headers( false ); ?>
     
    933940        </tr>
    934941        </tfoot>
    935942
    936         <tbody id="the-list"<?php
    937                 if ( $singular ) {
    938                         echo " data-wp-lists='list:$singular'";
    939                 } ?>>
    940                 <?php $this->display_rows_or_placeholder(); ?>
    941         </tbody>
    942943</table>
    943944<?php
    944945                $this->display_tablenav( 'bottom' );
  • src/wp-admin/includes/class-wp-posts-list-table.php

     
    334334                }
    335335
    336336                $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all';
    337                 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>';
     337                if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) ) {
     338                        $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
     339                }
    339340
    340341                $posts_columns['date'] = __( 'Date' );
    341342
  • src/wp-admin/nav-menus.php

     
    573573                                        <th scope="col" class="manage-column column-menus"><?php _e( 'Assigned Menu' ); ?></th>
    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 ) { ?>
    584578                                        <tr class="menu-locations-row">
  • src/wp-admin/update-core.php

     
    231231        </tr>
    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
    242236        foreach ( (array) $plugins as $plugin_file => $plugin_data) {
     
    282276        }
    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>
    287288</form>
     
    313314        </tr>
    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
    324319        foreach ( $themes as $stylesheet => $theme ) {
     
    330325        }
    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>
    335337</form>