Don't output empty title. Props mattwiebe, ptahdunbar. fixes #13240
git-svn-id: http://svn.automattic.com/wordpress/trunk@14644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c4aca99445
commit
d7ff950bb9
|
@ -1069,7 +1069,7 @@ class WP_Widget_Tag_Cloud extends WP_Widget {
|
||||||
|
|
||||||
echo $args['before_widget'];
|
echo $args['before_widget'];
|
||||||
|
|
||||||
if ( isset($instance['title']) )
|
if ( !empty($instance['title']) )
|
||||||
echo $args['before_title'] . $instance['title'] . $args['after_title'];
|
echo $args['before_title'] . $instance['title'] . $args['after_title'];
|
||||||
|
|
||||||
wp_nav_menu( array( 'menu' => $nav_menu ) );
|
wp_nav_menu( array( 'menu' => $nav_menu ) );
|
||||||
|
|
Loading…
Reference in New Issue