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-refresh.php +2 -2 2.8.14.3.2 View file →
@@ -44,9 +44,9 @@
44 44 if ( ! empty( $title ) ) {
45 45 echo $args['before_title'] . $title . $args['after_title'];
46 46 }
47 47
48 - echo '<a href="' . esc_url( home_url( '/friends/?refresh' ) ) . '">' . esc_html__( 'Refresh', 'friends' ) . '</a>';
48 + echo '<h5><span class="dashicons dashicons-update"></span> <a href="' . esc_url( home_url( '/friends/?refresh' ) ) . '">' . esc_html__( 'Refresh', 'friends' ) . '</a></h5>';
49 49
50 50 echo $args['after_widget'];
51 51 }
52 52
@@ -58,9 +58,9 @@
58 58 * @param array $old_instance Old settings.
59 59 * @return array Sanitized instance settings.
60 60 */
61 61 public function update( $new_instance, $old_instance ) {
62 - $instance = $this->defaults;
62 + $instance = $this->defaults();
63 63
64 64 return $instance;
65 65 }
66 66