WordPress.org

Make WordPress Core

Changeset 17369


Ignore:
Timestamp:
01/27/11 19:37:38 (5 years ago)
Author:
nacin
Message:

Use array_intersec_assoc. props duck_, fixes #16378.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-list-table.php

    r17353 r17369  
    272272            // This filter can currently only be used to remove actions. 
    273273            $this->_actions = apply_filters( 'bulk_actions-' . $screen->id, $this->_actions ); 
    274             $this->_actions = array_intersect_key( $this->_actions, $no_new_actions ); 
     274            $this->_actions = array_intersect_assoc( $this->_actions, $no_new_actions ); 
    275275            $two = ''; 
    276276        } else { 
Note: See TracChangeset for help on using the changeset viewer.