Mark `WP_List_Table::bulk_actions()`'s argument `$which` as optional for BC.
Fixes #29026. git-svn-id: https://develop.svn.wordpress.org/trunk@29440 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8a0953d88b
commit
9b9b4a82da
|
@ -345,8 +345,9 @@ class WP_List_Table {
|
||||||
* @access protected
|
* @access protected
|
||||||
*
|
*
|
||||||
* @param string $which The location of the bulk actions: 'top' or 'bottom'.
|
* @param string $which The location of the bulk actions: 'top' or 'bottom'.
|
||||||
|
* This is designated as optional for backwards-compatibility.
|
||||||
*/
|
*/
|
||||||
protected function bulk_actions( $which ) {
|
protected function bulk_actions( $which = '' ) {
|
||||||
if ( is_null( $this->_actions ) ) {
|
if ( is_null( $this->_actions ) ) {
|
||||||
$no_new_actions = $this->_actions = $this->get_bulk_actions();
|
$no_new_actions = $this->_actions = $this->get_bulk_actions();
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue