Improve table footer tab sequence by moving `<tfoot>` after `<tbody>`. Props afercia, rianrietveld, DrewAPicture. Fixes #30914.
Built from https://develop.svn.wordpress.org/trunk@31513 git-svn-id: http://core.svn.wordpress.org/trunk@31494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0cd7554f75
commit
19dbf7b998
|
@ -1631,7 +1631,6 @@ html.wp-toolbar {
|
|||
|
||||
.widefat th,
|
||||
.widefat td {
|
||||
overflow: hidden;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
|
|
|
@ -1631,7 +1631,6 @@ html.wp-toolbar {
|
|||
|
||||
.widefat th,
|
||||
.widefat td {
|
||||
overflow: hidden;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
|
|
|
@ -475,17 +475,6 @@ th.sorted a {
|
|||
padding: 7px 10px 8px 7px;
|
||||
}
|
||||
|
||||
th.manage-column a,
|
||||
th.sortable a:hover,
|
||||
th.sortable a:active,
|
||||
th.sortable a:focus {
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
th.sortable a:focus {
|
||||
background: #e1e1e1;
|
||||
}
|
||||
|
||||
.fixed .column-comments.sortable a,
|
||||
.fixed .column-comments.sorted a {
|
||||
padding: 8px 0;
|
||||
|
|
|
@ -475,17 +475,6 @@ th.sorted a {
|
|||
padding: 7px 7px 8px 10px;
|
||||
}
|
||||
|
||||
th.manage-column a,
|
||||
th.sortable a:hover,
|
||||
th.sortable a:active,
|
||||
th.sortable a:focus {
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
th.sortable a:focus {
|
||||
background: #e1e1e1;
|
||||
}
|
||||
|
||||
.fixed .column-comments.sortable a,
|
||||
.fixed .column-comments.sorted a {
|
||||
padding: 8px 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -336,12 +336,6 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<?php $this->print_column_headers( false ); ?>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody id="the-comment-list" data-wp-lists="list:comment">
|
||||
<?php $this->display_rows_or_placeholder(); ?>
|
||||
</tbody>
|
||||
|
@ -349,6 +343,13 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||
<tbody id="the-extra-comment-list" data-wp-lists="list:comment" style="display: none;">
|
||||
<?php $this->items = $this->extra_items; $this->display_rows(); ?>
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<?php $this->print_column_headers( false ); ?>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
</table>
|
||||
<?php
|
||||
|
||||
|
|
|
@ -939,18 +939,19 @@ class WP_List_Table {
|
|||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<?php $this->print_column_headers( false ); ?>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody id="the-list"<?php
|
||||
if ( $singular ) {
|
||||
echo " data-wp-lists='list:$singular'";
|
||||
} ?>>
|
||||
<?php $this->display_rows_or_placeholder(); ?>
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<?php $this->print_column_headers( false ); ?>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
</table>
|
||||
<?php
|
||||
$this->display_tablenav( 'bottom' );
|
||||
|
|
|
@ -335,7 +335,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
|||
|
||||
$post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all';
|
||||
if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) )
|
||||
$posts_columns['comments'] = '<span class="vers"><span title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></span></span>';
|
||||
$posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
|
||||
|
||||
$posts_columns['date'] = __( 'Date' );
|
||||
|
||||
|
|
|
@ -573,12 +573,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
<th scope="col" class="manage-column column-menus"><?php _e( 'Assigned Menu' ); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--<tfoot>
|
||||
<tr>
|
||||
<th scope="col" class="manage-column column-locations"><?php _e( 'Theme Location' ); ?></th>
|
||||
<th scope="col" class="manage-column column-menus"><?php _e( 'Assigned Menu' ); ?></th>
|
||||
</tr>
|
||||
</tfoot>-->
|
||||
<tbody class="menu-locations">
|
||||
<?php foreach ( $locations as $_location => $_name ) { ?>
|
||||
<tr class="menu-locations-row">
|
||||
|
|
|
@ -231,12 +231,6 @@ function list_plugin_updates() {
|
|||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all-2" /></th>
|
||||
<th scope="col" class="manage-column"><label for="plugins-select-all-2"><?php _e('Select All'); ?></label></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody class="plugins">
|
||||
<?php
|
||||
foreach ( (array) $plugins as $plugin_file => $plugin_data) {
|
||||
|
@ -282,6 +276,13 @@ function list_plugin_updates() {
|
|||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all-2" /></th>
|
||||
<th scope="col" class="manage-column"><label for="plugins-select-all-2"><?php _e( 'Select All' ); ?></label></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<p><input id="upgrade-plugins-2" class="button" type="submit" value="<?php esc_attr_e('Update Plugins'); ?>" name="upgrade" /></p>
|
||||
</form>
|
||||
|
@ -313,12 +314,6 @@ function list_theme_updates() {
|
|||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all-2" /></th>
|
||||
<th scope="col" class="manage-column"><label for="themes-select-all-2"><?php _e('Select All'); ?></label></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody class="plugins">
|
||||
<?php
|
||||
foreach ( $themes as $stylesheet => $theme ) {
|
||||
|
@ -330,6 +325,13 @@ function list_theme_updates() {
|
|||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all-2" /></th>
|
||||
<th scope="col" class="manage-column"><label for="themes-select-all-2"><?php _e( 'Select All' ); ?></label></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<p><input id="upgrade-themes-2" class="button" type="submit" value="<?php esc_attr_e('Update Themes'); ?>" name="upgrade" /></p>
|
||||
</form>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31512';
|
||||
$wp_version = '4.2-alpha-31513';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue