From 2570a9e7dfd35b720f2fc2e1d1f8dff73fc117a0 Mon Sep 17 00:00:00 2001 From: scribu Date: Wed, 8 Sep 2010 16:58:58 +0000 Subject: [PATCH] Replace is_term() with is_tax(). See #14161 git-svn-id: http://svn.automattic.com/wordpress/trunk@15599 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index bc86c732a1..c4ddf409e9 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -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;