Make WordPress Core

Ticket #26728: query.php.diff

File query.php.diff, 659 bytes (added by layotte, 12 years ago)
  • home/lew/public_html/wp-includes/query.php

     
    32713271               }
    32723272           } elseif ( $this->is_tag ) {
    32733273               $term = get_term( $this->get( 'tag_id' ), 'post_tag' );
    3274            } elseif ( $query['terms'] ) {
     3274           } elseif ( $this->is_tax ) {
    32753275               $tax_query_in_and = wp_list_filter( $this->tax_query->queries, array( 'operator' => 'NOT IN' ), 'NOT' );
    32763276               $query = reset( $tax_query_in_and );
    32773277