Add missing labels to category filter dropdowns.

props afercia.
fixes #29921.
Built from https://develop.svn.wordpress.org/trunk@29870


git-svn-id: http://core.svn.wordpress.org/trunk@29629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-10-11 02:21:19 +00:00
parent cdf9456b79
commit 2c0947eeee
3 changed files with 5 additions and 1 deletions

View File

@ -78,6 +78,8 @@ class WP_Links_List_Table extends WP_List_Table {
'show_count' => 0,
'orderby' => 'name',
);
echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>';
wp_dropdown_categories( $dropdown_options );
submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
?>

View File

@ -235,6 +235,8 @@ class WP_Posts_List_Table extends WP_List_Table {
'orderby' => 'name',
'selected' => $cat
);
echo '<label class="screen-reader-text" for="cat">' . __( 'Filter by category' ) . '</label>';
wp_dropdown_categories( $dropdown_options );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-20141010';
$wp_version = '4.1-alpha-20141011';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.