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

git-svn-id: http://svn.automattic.com/wordpress/trunk@15599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-09-08 16:58:58 +00:00
parent 6feafae8a1
commit 2570a9e7df
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;