Ticket #18595: 18595.patch
| File 18595.patch, 892 bytes (added by SergeyBiryukov, 21 months ago) |
|---|
-
wp-includes/default-widgets.php
177 177 178 178 function widget( $args, $instance ) { 179 179 extract($args); 180 $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base);180 $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); 181 181 182 182 echo $before_widget; 183 183 if ( $title ) … … 1064 1064 if ( !$nav_menu ) 1065 1065 return; 1066 1066 1067 $instance['title'] = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base);1067 $instance['title'] = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); 1068 1068 1069 1069 echo $args['before_widget']; 1070 1070
