Premium Addons for Elementor - Version 3.7.7

Version Description

  • Fixed: Counter widget icon is not appearing on the preview page.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 3.7.7
Comparing to
See all releases

Code changes from version 3.7.6 to 3.7.7

admin/includes/version-control.php CHANGED
@@ -92,7 +92,7 @@ class Version_Control {
92
  <tr class="pa-roll-row">
93
  <th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
94
  <td>
95
- <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.7.5', 'premium-addons-for-elementor') ); ?></div>
96
  <p class="pa-roll-desc">
97
  <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
98
  </p>
92
  <tr class="pa-roll-row">
93
  <th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
94
  <td>
95
+ <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.7.6', 'premium-addons-for-elementor') ); ?></div>
96
  <p class="pa-roll-desc">
97
  <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
98
  </p>
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 3.7.6
7
  Author: Leap13
8
  Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
@@ -14,12 +14,12 @@ License: GNU General Public License v3.0
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
- define('PREMIUM_ADDONS_VERSION', '3.7.6');
18
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename( PREMIUM_ADDONS_FILE ) );
22
- define('PREMIUM_ADDONS_STABLE_VERSION', '3.7.5');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 3.7.7
7
  Author: Leap13
8
  Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
+ define('PREMIUM_ADDONS_VERSION', '3.7.7');
18
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename( PREMIUM_ADDONS_FILE ) );
22
+ define('PREMIUM_ADDONS_STABLE_VERSION', '3.7.6');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate Link: https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_c
5
  Requires at Least: 4.5
6
  Tested Up To: 5.2.2
7
  Requires PHP: 5.4
8
- Stable Tag: 3.7.6
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -175,6 +175,10 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
175
 
176
  == Changelog ==
177
 
 
 
 
 
178
  = 3.7.6 =
179
 
180
  - Tweak: Added `Youtube Thumbnail Size` option to Videobox and Grid widgets.
5
  Requires at Least: 4.5
6
  Tested Up To: 5.2.2
7
  Requires PHP: 5.4
8
+ Stable Tag: 3.7.7
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
175
 
176
  == Changelog ==
177
 
178
+ = 3.7.7 =
179
+
180
+ - Fixed: Counter widget icon is not appearing on the preview page.
181
+
182
  = 3.7.6 =
183
 
184
  - Tweak: Added `Youtube Thumbnail Size` option to Videobox and Grid widgets.
widgets/premium-counter.php CHANGED
@@ -573,6 +573,7 @@ class Premium_Counter extends Widget_Base {
573
  ?>
574
 
575
  <div class="premium-counter-icon <?php echo $direction; ?>">
 
576
  <span class="icon<?php echo $flex_width; ?><?php echo $icon_style; ?>" data-animation="<?php echo $animation; ?>">
577
 
578
  <?php if( $settings['premium_counter_icon_image'] === 'icon' ) {
@@ -624,15 +625,15 @@ class Premium_Counter extends Widget_Base {
624
  <div <?php echo $this->get_render_attribute_string('counter'); ?>>
625
  <?php if( $position == 'right' ) {
626
  $this->get_counter_content( $settings, $position );
627
- if( ! empty( $settings['premium_counter_icon'] ) || ! empty( $settings['premium_counter_image_upload']['url'] ) ) {
628
- $this->get_counter_icon($settings, $position);
629
  }
630
 
631
  } else {
632
- if( ! empty( $settings['premium_counter_icon'] ) || ! empty( $settings['premium_counter_image_upload']['url'] ) ) {
633
- $this->get_counter_icon($settings, $left);
634
  }
635
- $this->get_counter_content($settings, $left);
636
  ?>
637
 
638
  <?php } ?>
@@ -749,13 +750,13 @@ class Premium_Counter extends Widget_Base {
749
 
750
  getCounterContent( position );
751
 
752
- if( '' !== settings.premium_counter_icon || '' !== settings.premium_counter_image_upload.url ) {
753
  getCounterIcon( position );
754
  }
755
 
756
  } else {
757
 
758
- if( '' !== settings.premium_counter_icon || '' !== settings.premium_counter_image_upload.url ) {
759
  getCounterIcon( position );
760
  }
761
 
573
  ?>
574
 
575
  <div class="premium-counter-icon <?php echo $direction; ?>">
576
+
577
  <span class="icon<?php echo $flex_width; ?><?php echo $icon_style; ?>" data-animation="<?php echo $animation; ?>">
578
 
579
  <?php if( $settings['premium_counter_icon_image'] === 'icon' ) {
625
  <div <?php echo $this->get_render_attribute_string('counter'); ?>>
626
  <?php if( $position == 'right' ) {
627
  $this->get_counter_content( $settings, $position );
628
+ if( ! empty( $settings['premium_counter_icon_updated']['value'] ) || ! empty( $settings['premium_counter_icon'] ) || ! empty( $settings['premium_counter_image_upload']['url'] ) ) {
629
+ $this->get_counter_icon( $settings, $position );
630
  }
631
 
632
  } else {
633
+ if( ! empty( $settings['premium_counter_icon_updated']['value'] ) || ! empty( $settings['premium_counter_icon'] ) || ! empty( $settings['premium_counter_image_upload']['url'] ) ) {
634
+ $this->get_counter_icon( $settings, $left );
635
  }
636
+ $this->get_counter_content( $settings, $left );
637
  ?>
638
 
639
  <?php } ?>
750
 
751
  getCounterContent( position );
752
 
753
+ if( '' !== settings.premium_counter_icon_updated.value || '' !== settings.premium_counter_icon || '' !== settings.premium_counter_image_upload.url ) {
754
  getCounterIcon( position );
755
  }
756
 
757
  } else {
758
 
759
+ if( '' !== settings.premium_counter_icon_updated.value || '' !== settings.premium_counter_icon || '' !== settings.premium_counter_image_upload.url ) {
760
  getCounterIcon( position );
761
  }
762