From 3ed5b0a01e2d9bc75b57a5daccb4fb087fa5c4fe Mon Sep 17 00:00:00 2001 From: rob1n Date: Tue, 22 May 2007 00:25:44 +0000 Subject: [PATCH] Don't show title if user leaves it blank. see #4259 git-svn-id: http://svn.automattic.com/wordpress/trunk@5509 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/widgets.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 6365261cd..7eae8b039 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -523,12 +523,10 @@ function wp_widget_text($args, $number = 1) { extract($args); $options = get_option('widget_text'); $title = $options[$number]['title']; - if ( empty($title) ) - $title = ' '; $text = apply_filters( 'the_content', $options[$number]['text'] ); ?> - +