WP_Plugins_List_Table::bulk_actions() method declaration should match WP_List_Table, see [29440].

props imath.
fixes #29148.
Built from https://develop.svn.wordpress.org/trunk@29453


git-svn-id: http://core.svn.wordpress.org/trunk@29231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2014-08-09 14:46:17 +00:00
parent d11bb9bc50
commit 09e61f534b

View File

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