From 704a4c48036dd25a5f978b33b68149b8efb10b30 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 7 Aug 2014 21:30:15 +0000 Subject: [PATCH] Mark `WP_List_Table::bulk_actions()`'s argument `$which` as optional for BC. Fixes #29026. Built from https://develop.svn.wordpress.org/trunk@29440 git-svn-id: http://core.svn.wordpress.org/trunk@29218 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-list-table.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index b23da4cee8..93a91e420f 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -345,8 +345,9 @@ class WP_List_Table { * @access protected * * @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 ) ) { $no_new_actions = $this->_actions = $this->get_bulk_actions(); /**