PluginProbe
Friends / 4.3.2
Friends v4.3.2
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
← All changes | widgets/class-widget-header.php +2 -2 2.8.04.3.2 View file →
@@ -45,9 +45,9 @@
45 45 $title = apply_filters( 'convert_chars', $title );
46 46
47 47 echo $args['before_widget'];
48 48 if ( ! empty( $title ) ) {
49 - echo $args['before_title'] . $title . $args['after_title'];
49 + echo $args['before_title'] . '<span class="dashicons dashicons-feedback"></span> ' . $title . $args['after_title'];
50 50 }
51 51
52 52 if ( $friends->frontend->author ) {
53 53 ?>
@@ -101,9 +101,9 @@
101 101 * @return array Sanitized instance settings.
102 102 */
103 103 public function update( $new_instance, $old_instance ) {
104 104 $instance = array();
105 - $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
105 + $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? wp_strip_all_tags( $new_instance['title'] ) : '';
106 106 $instance['show_post_formats'] = isset( $new_instance['show_post_formats'] ) && $new_instance['show_post_formats'];
107 107 return $instance;
108 108 }
109 109