WordPress.org

Make WordPress Core

Ticket #13240: title_check.diff

File title_check.diff, 498 bytes (added by mattwiebe, 5 years ago)
  • wp-includes/default-widgets.php

     
    10571057 
    10581058                echo $args['before_widget']; 
    10591059 
    1060                 if ( isset($instance['title']) ) 
     1060                if ( isset($instance['title']) && ! empty($instance['title']) ) 
    10611061                        echo $args['before_title'] . $instance['title'] . $args['after_title']; 
    10621062 
    10631063                wp_nav_menu( array( 'menu' => $nav_menu ) );