mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
echo OR return, not both, in single_term_title(). props Viper007Bond, fixes #15939.
git-svn-id: https://develop.svn.wordpress.org/trunk@17107 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
71b6aeb04d
commit
676394918c
@ -755,8 +755,8 @@ function single_term_title( $prefix = '', $display = true ) {
|
||||
|
||||
if ( $display )
|
||||
echo $prefix . $term_name;
|
||||
|
||||
return $term_name;
|
||||
else
|
||||
return $term_name;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user