From cea40dfbeb8181eee1a1740c59a220e3ea9c951a Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 27 Jan 2011 19:37:38 +0000 Subject: [PATCH] Use array_intersec_assoc. props duck_, fixes #16378. git-svn-id: https://develop.svn.wordpress.org/trunk@17369 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index e7ce9e52d8..bd5c546bf9 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -271,7 +271,7 @@ class WP_List_Table { $no_new_actions = $this->_actions = $this->get_bulk_actions(); // This filter can currently only be used to remove actions. $this->_actions = apply_filters( 'bulk_actions-' . $screen->id, $this->_actions ); - $this->_actions = array_intersect_key( $this->_actions, $no_new_actions ); + $this->_actions = array_intersect_assoc( $this->_actions, $no_new_actions ); $two = ''; } else { $two = '2';