From 277be4ce51da1a4141768e6328416ef087ac439d Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 27 Jan 2011 19:37:38 +0000 Subject: [PATCH] Use array_intersec_assoc. props duck_, fixes #16378. git-svn-id: http://svn.automattic.com/wordpress/trunk@17369 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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';