Make WordPress Core


Ignore:
Timestamp:
10/02/2010 06:48:51 PM (14 years ago)
Author:
scribu
Message:

Split wp_filter_object_list() into wp_list_filter() and wp_list_pluck(). Fixes #15016

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r15685 r15686  
    19521952            // Back-compat
    19531953            if ( !empty( $ids ) ) {
    1954                 $cat_query = wp_filter_object_list( $tax_query, array( 'taxonomy' => 'category' ) );
     1954                $cat_query = wp_list_filter( $tax_query, array( 'taxonomy' => 'category' ) );
    19551955                if ( !empty( $cat_query ) ) {
    19561956                    $cat_query = reset( $cat_query );
Note: See TracChangeset for help on using the changeset viewer.