Astra Widgets - Version 1.2.7

Version Description

  • Fix: Handled PHP Notice in Customizer When We Add Astra List Icons Widget.
Download this release

Release Info

Developer brainstormworg
Plugin Icon Astra Widgets
Version 1.2.7
Comparing to
See all releases

Code changes from version 1.2.6 to 1.2.7

astra-widgets.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Astra Widgets
4
  * Plugin URI: https://wpastra.com/
5
  * Description: The Fastest Way to Add More Widgets into Your WordPress Website.
6
- * Version: 1.2.6
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com
9
  * Text Domain: astra-widgets
@@ -25,7 +25,7 @@ define( 'ASTRA_WIDGETS_FILE', __FILE__ );
25
  define( 'ASTRA_WIDGETS_BASE', plugin_basename( ASTRA_WIDGETS_FILE ) );
26
  define( 'ASTRA_WIDGETS_DIR', plugin_dir_path( ASTRA_WIDGETS_FILE ) );
27
  define( 'ASTRA_WIDGETS_URI', plugins_url( '/', ASTRA_WIDGETS_FILE ) );
28
- define( 'ASTRA_WIDGETS_VER', '1.2.6' );
29
  define( 'ASTRA_WIDGETS_TEMPLATE_DEBUG_MODE', false );
30
 
31
  require_once ASTRA_WIDGETS_DIR . 'classes/class-astra-widgets.php';
3
  * Plugin Name: Astra Widgets
4
  * Plugin URI: https://wpastra.com/
5
  * Description: The Fastest Way to Add More Widgets into Your WordPress Website.
6
+ * Version: 1.2.7
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com
9
  * Text Domain: astra-widgets
25
  define( 'ASTRA_WIDGETS_BASE', plugin_basename( ASTRA_WIDGETS_FILE ) );
26
  define( 'ASTRA_WIDGETS_DIR', plugin_dir_path( ASTRA_WIDGETS_FILE ) );
27
  define( 'ASTRA_WIDGETS_URI', plugins_url( '/', ASTRA_WIDGETS_FILE ) );
28
+ define( 'ASTRA_WIDGETS_VER', '1.2.7' );
29
  define( 'ASTRA_WIDGETS_TEMPLATE_DEBUG_MODE', false );
30
 
31
  require_once ASTRA_WIDGETS_DIR . 'classes/class-astra-widgets.php';
classes/widgets/class-astra-widget-list-icons.php CHANGED
@@ -172,8 +172,8 @@ if ( ! class_exists( 'Astra_Widget_List_Icons' ) ) :
172
 
173
  $this->front_setup( $args, $instance );
174
 
175
- $width = $instance['width'] ? $instance['width'] : '';
176
- $icon_color = $instance['icon_color'] ? $instance['icon_color'] : '';
177
 
178
  if ( ! empty( $width ) ) {
179
  $image_width = 'style= max-width:' . esc_attr( $width ) . 'px';
172
 
173
  $this->front_setup( $args, $instance );
174
 
175
+ $width = isset( $instance['width'] ) ? $instance['width'] : '';
176
+ $icon_color = isset( $instance['icon_color'] ) ? $instance['icon_color'] : '';
177
 
178
  if ( ! empty( $width ) ) {
179
  $image_width = 'style= max-width:' . esc_attr( $width ) . 'px';
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: brainstormforce
3
  Donate link: https://www.paypal.me/BrainstormForce
4
  Tags: Address widget, Social profile widget, List icon widget, Social media, Add widget
5
  Requires at least: 4.7
6
- Tested up to: 5.5.1
7
  Requires PHP: 5.2
8
- Stable tag: 1.2.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -76,8 +76,11 @@ In your WordPress admin dashboard go to Appearance -> Widgets, drag the Astra :
76
 
77
  == Changelog ==
78
 
 
 
 
79
  = 1.2.6 =
80
- - Improvement: Hardened the security of plugin
81
 
82
  = 1.2.5 =
83
  - Fix: Fixed compatibility with other plugins with respect to the admin notice.
3
  Donate link: https://www.paypal.me/BrainstormForce
4
  Tags: Address widget, Social profile widget, List icon widget, Social media, Add widget
5
  Requires at least: 4.7
6
+ Tested up to: 5.6
7
  Requires PHP: 5.2
8
+ Stable tag: 1.2.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
76
 
77
  == Changelog ==
78
 
79
+ = 1.2.7 =
80
+ - Fix: Handled PHP Notice in Customizer When We Add Astra List Icons Widget.
81
+
82
  = 1.2.6 =
83
+ - Improvement: Hardened the security of plugin.
84
 
85
  = 1.2.5 =
86
  - Fix: Fixed compatibility with other plugins with respect to the admin notice.