WordPress.org

Make WordPress Core

Changeset 14644


Ignore:
Timestamp:
05/14/2010 06:52:59 PM (8 years ago)
Author:
ryan
Message:

Don't output empty title. Props mattwiebe, ptahdunbar. fixes #13240

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r14617 r14644  
    10701070        echo $args['before_widget'];
    10711071
    1072         if ( isset($instance['title']) )
     1072        if ( !empty($instance['title']) )
    10731073            echo $args['before_title'] . $instance['title'] . $args['after_title'];
    10741074
Note: See TracChangeset for help on using the changeset viewer.