mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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