Make WordPress Core


Ignore:
Timestamp:
11/17/2010 02:04:08 AM (13 years ago)
Author:
scribu
Message:

Re-introduce ->tax_query as a read-only var. See #12891

File:
1 edited

Legend:

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

    r15904 r16414  
    147147
    148148            $term_count = 0;
    149             foreach ( $wp_query->get('tax_query') as $tax_query )
     149            foreach ( $wp_query->tax_query as $tax_query )
    150150                $term_count += count( $tax_query['terms'] );
    151151
Note: See TracChangeset for help on using the changeset viewer.