WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/09/2010 07:29:21 PM (9 years ago)
Author:
scribu
Message:

Introduce WP_Tax_Query. Fix canonical redirects in the process. See #15752

File:
1 edited

Legend:

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

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