Premium Addons for Elementor - Version 4.3.6

Version Description

  • Tweak: Premium Trustpilot Reviews switcher changed to disabled by default.
Download this release

Release Info

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

Code changes from version 4.3.5 to 4.3.6

admin/includes/admin-helper.php CHANGED
@@ -51,13 +51,6 @@ class Admin_Helper {
51
  */
52
  public static $elements_list = null;
53
 
54
- /**
55
- * New Elements
56
- *
57
- * @var $new_elements
58
- */
59
- public static $new_elements = null;
60
-
61
  /**
62
  * Integrations List
63
  *
@@ -577,8 +570,6 @@ class Admin_Helper {
577
 
578
  $elements = array_fill_keys( array_keys( array_intersect_key( $settings, $defaults ) ), true );
579
 
580
- $elements['is-saved'] = true;
581
-
582
  update_option( 'pa_save_settings', $elements );
583
 
584
  wp_send_json_success();
@@ -655,16 +646,11 @@ class Admin_Helper {
655
 
656
  $keys = array();
657
 
658
- self::$new_elements = array();
659
-
660
  // Now, we need to fill our array with elements keys.
661
  foreach ( $elements as $cat ) {
662
  if ( count( $cat['elements'] ) ) {
663
  foreach ( $cat['elements'] as $elem ) {
664
  array_push( $keys, $elem['key'] );
665
- if ( isset( $elem['is_new'] ) ) {
666
- self::$new_elements[ $elem['key'] ] = true;
667
- }
668
  }
669
  }
670
  }
@@ -714,10 +700,6 @@ class Admin_Helper {
714
  if ( ! isset( $enabled_keys[ $key ] ) ) {
715
  $defaults[ $key ] = 0;
716
  }
717
- // Keep new elements be enabled by default
718
- if ( isset( self::$new_elements[ $key ] ) && ! isset( $enabled_keys['is-saved'] ) ) {
719
- $defaults[ $key ] = 1;
720
- }
721
  }
722
 
723
  return $defaults;
51
  */
52
  public static $elements_list = null;
53
 
 
 
 
 
 
 
 
54
  /**
55
  * Integrations List
56
  *
570
 
571
  $elements = array_fill_keys( array_keys( array_intersect_key( $settings, $defaults ) ), true );
572
 
 
 
573
  update_option( 'pa_save_settings', $elements );
574
 
575
  wp_send_json_success();
646
 
647
  $keys = array();
648
 
 
 
649
  // Now, we need to fill our array with elements keys.
650
  foreach ( $elements as $cat ) {
651
  if ( count( $cat['elements'] ) ) {
652
  foreach ( $cat['elements'] as $elem ) {
653
  array_push( $keys, $elem['key'] );
 
 
 
654
  }
655
  }
656
  }
700
  if ( ! isset( $enabled_keys[ $key ] ) ) {
701
  $defaults[ $key ] = 0;
702
  }
 
 
 
 
703
  }
704
 
705
  return $defaults;
premium-addons-for-elementor.php CHANGED
@@ -3,8 +3,8 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons for Elementor plugin includes widgets and addons like Blog Post Grid, Gallery, Carousel, Modal Popup, Google Maps, Pricing Tables, Lottie Animations, Countdown, Testimonials.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 4.3.5
7
- Elementor tested up to: 3.2.3
8
  Elementor Pro tested up to: 3.2.2
9
  Author: Leap13
10
  Author URI: https://leap13.com/
@@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
18
  }
19
 
20
  // Define Constants.
21
- define( 'PREMIUM_ADDONS_VERSION', '4.3.5' );
22
  define( 'PREMIUM_ADDONS_URL', plugins_url( '/', __FILE__ ) );
23
  define( 'PREMIUM_ADDONS_PATH', plugin_dir_path( __FILE__ ) );
24
  define( 'PREMIUM_ADDONS_FILE', __FILE__ );
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons for Elementor plugin includes widgets and addons like Blog Post Grid, Gallery, Carousel, Modal Popup, Google Maps, Pricing Tables, Lottie Animations, Countdown, Testimonials.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 4.3.6
7
+ Elementor tested up to: 3.2.4
8
  Elementor Pro tested up to: 3.2.2
9
  Author: Leap13
10
  Author URI: https://leap13.com/
18
  }
19
 
20
  // Define Constants.
21
+ define( 'PREMIUM_ADDONS_VERSION', '4.3.6' );
22
  define( 'PREMIUM_ADDONS_URL', plugins_url( '/', __FILE__ ) );
23
  define( 'PREMIUM_ADDONS_PATH', plugin_dir_path( __FILE__ ) );
24
  define( 'PREMIUM_ADDONS_FILE', __FILE__ );
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: 5.0
6
  Tested Up To: 5.7.1
7
  Requires PHP: 5.4
8
- Stable Tag: 4.3.5
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -192,6 +192,10 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
192
 
193
  == Changelog ==
194
 
 
 
 
 
195
  = 4.3.5 =
196
 
197
  - Tweak: Added Animated Gradient effect option in Heading widget.
5
  Requires at least: 5.0
6
  Tested Up To: 5.7.1
7
  Requires PHP: 5.4
8
+ Stable Tag: 4.3.6
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
192
 
193
  == Changelog ==
194
 
195
+ = 4.3.6 =
196
+
197
+ - Tweak: Premium Trustpilot Reviews switcher changed to disabled by default.
198
+
199
  = 4.3.5 =
200
 
201
  - Tweak: Added Animated Gradient effect option in Heading widget.