Make WordPress Core


Ignore:
Timestamp:
12/25/2010 11:26:09 PM (16 years ago)
Author:
dd32
Message:

Set taxonomy/term back-compat query vars for all views (not just taxonomy indexes). Fixes #15978

File:
1 edited

Legend:

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

    r17083 r17147  
    20822082
    20832083                // Back-compat
    2084                 if ( $this->is_category || $this->is_tag || $this->is_tax ) {
     2084                if ( !empty($this->tax_query->queries) ) {
    20852085                        $tax_query_in = wp_list_filter( $this->tax_query->queries, array( 'operator' => 'IN' ) );
    20862086                        if ( !empty( $tax_query_in ) ) {
Note: See TracChangeset for help on using the changeset viewer.