Make WordPress Core

Ticket #17837: 17837.patch

File 17837.patch, 638 bytes (added by jakub.tyrcha, 13 years ago)
  • wp-includes/default-widgets.php

     
    333333
    334334        function widget( $args, $instance ) {
    335335                extract($args);
    336                 $title = apply_filters('widget_title', empty($instance['title']) ? ' ' : $instance['title'], $instance, $this->id_base);
     336                $title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base);
    337337                echo $before_widget;
    338338                if ( $title )
    339339                        echo $before_title . $title . $after_title;