mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
Show 0 titles - http://mosquito.wordpress.org/view.php?id=1266 Hat tip: Mark
git-svn-id: https://develop.svn.wordpress.org/trunk@2567 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b7c7267534
commit
9859c8dc9f
@ -16,7 +16,7 @@ function the_ID() {
|
||||
|
||||
function the_title($before = '', $after = '', $echo = true) {
|
||||
$title = get_the_title();
|
||||
if (!empty($title)) {
|
||||
if ( strlen($title) > 0 ) {
|
||||
$title = apply_filters('the_title', $before . $title . $after, $before, $after);
|
||||
if ($echo)
|
||||
echo $title;
|
||||
|
Loading…
x
Reference in New Issue
Block a user