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

Props joedolson.
Fixes #28867.


git-svn-id: https://develop.svn.wordpress.org/trunk@29294 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-07-25 00:19:21 +00:00
parent f0318988c4
commit ced3f94927
2 changed files with 10 additions and 6 deletions
@@ -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 ) {