From c45204d0bdc519f18f9f601c2fdbe8ec9bc9e635 Mon Sep 17 00:00:00 2001 From: Mahdi Yazdani Date: Sat, 7 Nov 2020 05:50:25 +0300 Subject: [PATCH] Fixed error in outputting icons --- social-network-widget-register.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/social-network-widget-register.php b/social-network-widget-register.php index 0234750..6eb30c4 100644 --- a/social-network-widget-register.php +++ b/social-network-widget-register.php @@ -85,6 +85,7 @@ public function render_admin_js() { * @return void */ public function widget( $args, $instance ) { + $i = 0; $html = array(); $instance = wp_parse_args( (array) $instance, $this->defaults ); $instance['title'] = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); @@ -100,14 +101,14 @@ public function widget( $args, $instance ) { $html['ul_open'] = ''; }