From 9859c8dc9fcce7535e057505d6b1d29324276495 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 21 Apr 2005 00:55:30 +0000 Subject: [PATCH] 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 --- wp-includes/template-functions-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index d6e14b70c9..e64e40d59b 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -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;