Make WordPress Core

Changeset 13495


Ignore:
Timestamp:
02/28/2010 09:45:52 AM (15 years ago)
Author:
dd32
Message:
Revert part of r13486, is_tax() is false for tags
categories. See #11904
File:
1 edited

Legend:

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

    r13494 r13495  
    245245    $term_array = (array) $term;
    246246
    247     if ( ! ( $wp_query->is_tax || $wp_query->is_category || $wp_query->is_tag ) )
     247    if ( !$wp_query->is_tax )
    248248        return false;
    249249
Note: See TracChangeset for help on using the changeset viewer.