mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
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:
parent
6feafae8a1
commit
2570a9e7df
@ -706,7 +706,7 @@ function single_term_title( $prefix = '', $display = true ) {
|
|||||||
$term_name = apply_filters( 'single_cat_title', $term->name );
|
$term_name = apply_filters( 'single_cat_title', $term->name );
|
||||||
elseif ( is_tag() )
|
elseif ( is_tag() )
|
||||||
$term_name = apply_filters( 'single_tag_title', $term->name );
|
$term_name = apply_filters( 'single_tag_title', $term->name );
|
||||||
elseif ( is_term() )
|
elseif ( is_tax() )
|
||||||
$term_name = apply_filters( 'single_term_title', $term->name );
|
$term_name = apply_filters( 'single_term_title', $term->name );
|
||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user