From 5b8895bfcd85535a6cdf98c51fa66da7c6b3d293 Mon Sep 17 00:00:00 2001 From: matt 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: http://core.svn.wordpress.org/trunk@2567 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 d6e14b70c..e64e40d59 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;