WordPress.org

Make WordPress Core

Ticket #14009: default-widgets.php.15292.patch

File default-widgets.php.15292.patch, 654 bytes (added by jorbin, 5 years ago)
  • wp-includes/default-widgets.php

     
    10691069 
    10701070                echo $args['before_widget']; 
    10711071 
    1072                 if ( !empty($instance['title']) ) 
    1073                         echo $args['before_title'] . $instance['title'] . $args['after_title']; 
     1072                if ( !empty($instance['title']) ){ 
     1073                        $title = apply_filters('widget_title', $instance['title'], $instance, $this->id_base); 
     1074                        echo $args['before_title'] . $title . $args['after_title']; 
     1075                } 
    10741076 
    10751077                wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) ); 
    10761078