Premium Addons for Elementor - Version 2.6.0

Version Description

  • Fixed: Warning "Cannot redeclare control with same name premium_gallery_img_alt".
Download this release

Release Info

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

Code changes from version 2.5.9 to 2.6.0

admin/settings/version-control.php CHANGED
@@ -80,7 +80,7 @@ class PA_Version_Control {
80
  <tr class="pa-roll-row">
81
  <th>Rollback Version</th>
82
  <td>
83
- <div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.5.8</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
84
  <p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
85
  </td>
86
  </tr>
80
  <tr class="pa-roll-row">
81
  <th>Rollback Version</th>
82
  <td>
83
+ <div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.5.9</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
84
  <p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
85
  </td>
86
  </tr>
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 20 premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 2.5.9
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
  Text Domain: premium-addons-for-elementor
@@ -22,12 +22,12 @@ if (!function_exists('add_action')) {
22
  if (!defined('ABSPATH')) exit; // No access of directly access
23
 
24
 
25
- define('PREMIUM_ADDONS_VERSION', '2.5.9');
26
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
27
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
28
  define('PREMIUM_ADDONS_FILE', __FILE__);
29
  define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
- define('PREMIUM_ADDONS_STABLE_VERSION', '2.5.8');
31
 
32
  /**
33
  * Loading text domain, Including required files
@@ -344,9 +344,9 @@ class premium_Addon_Elementor {
344
  wp_register_script('premium-addons-js', PREMIUM_ADDONS_URL . 'assets/js/premium-addons.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
345
  }
346
  if ($check_component_active['premium-grid']) {
347
- wp_register_script('premium-addons-js', PREMIUM_ADDONS_URL . 'assets/js/premium-addons.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
348
  wp_register_script('isotope-js', PREMIUM_ADDONS_URL . 'assets/js/lib/isotope.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
349
  wp_register_script('prettyPhoto-js', PREMIUM_ADDONS_URL . 'assets/js/lib/prettyPhoto.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
 
350
  }
351
  if ($check_component_active['premium-counter']) {
352
  wp_register_script('counter-up-js', PREMIUM_ADDONS_URL . 'assets/js/lib/countUpmin.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 20 premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 2.6.0
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
  Text Domain: premium-addons-for-elementor
22
  if (!defined('ABSPATH')) exit; // No access of directly access
23
 
24
 
25
+ define('PREMIUM_ADDONS_VERSION', '2.6.0');
26
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
27
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
28
  define('PREMIUM_ADDONS_FILE', __FILE__);
29
  define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
+ define('PREMIUM_ADDONS_STABLE_VERSION', '2.5.9');
31
 
32
  /**
33
  * Loading text domain, Including required files
344
  wp_register_script('premium-addons-js', PREMIUM_ADDONS_URL . 'assets/js/premium-addons.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
345
  }
346
  if ($check_component_active['premium-grid']) {
 
347
  wp_register_script('isotope-js', PREMIUM_ADDONS_URL . 'assets/js/lib/isotope.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
348
  wp_register_script('prettyPhoto-js', PREMIUM_ADDONS_URL . 'assets/js/lib/prettyPhoto.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
349
+ wp_register_script('premium-addons-js', PREMIUM_ADDONS_URL . 'assets/js/premium-addons.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
350
  }
351
  if ($check_component_active['premium-counter']) {
352
  wp_register_script('counter-up-js', PREMIUM_ADDONS_URL . 'assets/js/lib/countUpmin.js', array('jquery'), PREMIUM_ADDONS_VERSION, true);
readme.txt CHANGED
@@ -5,15 +5,12 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 4.9.8
7
  Requires PHP: 5.4
8
- Stable tag: 2.5.9
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
12
  20 Elementor Widgets and Addons like Grid, Modal Box, Carousel, Google Maps, Pricing Tables, Countdown, Testimonials, Blog, and much more.
13
 
14
- == Important: ==
15
- Premium Dual Heading widget has been rebuilt to be 100% SEO compitable. Please make sure to check websites you built using Dual Heading widget as its styling may need to be amended.
16
-
17
  == Description ==
18
  20 Premium Elementor addons & widgets with numerous customization options that extends Elementor Page Builder capabilities to help you build impressive websites with no coding required. Click [Here](https://premiumaddons.com/) to check addon elements’ demos.
19
 
@@ -138,6 +135,10 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
138
 
139
  == Changelog ==
140
 
 
 
 
 
141
  = 2.5.9 =
142
 
143
  - Tweak: Added enable/disable default category in Premium Grid widget.
5
  Requires at least: 4.5
6
  Tested up to: 4.9.8
7
  Requires PHP: 5.4
8
+ Stable tag: 2.6.0
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
12
  20 Elementor Widgets and Addons like Grid, Modal Box, Carousel, Google Maps, Pricing Tables, Countdown, Testimonials, Blog, and much more.
13
 
 
 
 
14
  == Description ==
15
  20 Premium Elementor addons & widgets with numerous customization options that extends Elementor Page Builder capabilities to help you build impressive websites with no coding required. Click [Here](https://premiumaddons.com/) to check addon elements’ demos.
16
 
135
 
136
  == Changelog ==
137
 
138
+ = 2.6.0 =
139
+
140
+ - Fixed: Warning "Cannot redeclare control with same name premium_gallery_img_alt".
141
+
142
  = 2.5.9 =
143
 
144
  - Tweak: Added enable/disable default category in Premium Grid widget.
widgets/premium-grid.php CHANGED
@@ -24,9 +24,9 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
24
 
25
  public function get_script_depends(){
26
  return [
27
- 'premium-addons-js',
28
  'prettyPhoto-js',
29
- 'isotope-js'
 
30
  ];
31
  }
32
 
@@ -151,14 +151,6 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
151
  'label_block' => true,
152
  ]);
153
 
154
- $img_repeater->add_control('premium_gallery_img_alt',
155
- [
156
- 'label' => esc_html__( 'Alt', 'premium-addons-for-elementor' ),
157
- 'type' => Controls_Manager::TEXT,
158
- 'dynamic' => [ 'active' => true ],
159
- 'label_block' => true,
160
- ]);
161
-
162
  $img_repeater->add_control('premium_gallery_img_desc',
163
  [
164
  'label' => esc_html__( 'Description', 'premium-addons-for-elementor' ),
24
 
25
  public function get_script_depends(){
26
  return [
 
27
  'prettyPhoto-js',
28
+ 'isotope-js',
29
+ 'premium-addons-js'
30
  ];
31
  }
32
 
151
  'label_block' => true,
152
  ]);
153
 
 
 
 
 
 
 
 
 
154
  $img_repeater->add_control('premium_gallery_img_desc',
155
  [
156
  'label' => esc_html__( 'Description', 'premium-addons-for-elementor' ),