Make WordPress Core

Changeset 15599


Ignore:
Timestamp:
09/08/2010 04:58:58 PM (14 years ago)
Author:
scribu
Message:

Replace is_term() with is_tax(). See #14161

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r15598 r15599  
    707707    elseif ( is_tag() )
    708708        $term_name = apply_filters( 'single_tag_title', $term->name );
    709     elseif ( is_term() )
     709    elseif ( is_tax() )
    710710        $term_name = apply_filters( 'single_term_title', $term->name );
    711711    else
Note: See TracChangeset for help on using the changeset viewer.