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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user