Adds <label>s to current page selector and bulk actions <select> field so that screen readers have an explicit label.

Props joedolson.
Fixes #28867.

Built from https://develop.svn.wordpress.org/trunk@29294


git-svn-id: http://core.svn.wordpress.org/trunk@29076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2014-07-25 00:20:16 +00:00
parent 0005433983
commit 97fff7e952
3 changed files with 11 additions and 7 deletions

View File

@@ -298,13 +298,13 @@ class WP_Plugins_List_Table extends WP_List_Table {
return $actions;
}
public function bulk_actions() {
public function bulk_actions( $which ) {
global $status;
if ( in_array( $status, array( 'mustuse', 'dropins' ) ) )
return;
parent::bulk_actions();
parent::bulk_actions( $which );
}
protected function extra_tablenav( $which ) {