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

git-svn-id: https://develop.svn.wordpress.org/trunk@15599 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu 2010-09-08 16:58:58 +00:00
parent 14a8208e07
commit 23850cf615
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ function single_term_title( $prefix = '', $display = true ) {
$term_name = apply_filters( 'single_cat_title', $term->name );
elseif ( is_tag() )
$term_name = apply_filters( 'single_tag_title', $term->name );
elseif ( is_term() )
elseif ( is_tax() )
$term_name = apply_filters( 'single_term_title', $term->name );
else
return;