mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
echo OR return, not both, in single_term_title(). props Viper007Bond, fixes #15939.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
58af295c54
commit
db7266124a
@ -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…
Reference in New Issue
Block a user