Premium Addons for Elementor - Version 3.3.4

Version Description

  • Fixed: markercluster.js file is loaded even when Maps widget not on the page.
  • Fixed: Text and icon are not horizontally centered in Button and Image Button widgets.
Download this release

Release Info

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

Code changes from version 3.3.3 to 3.3.4

admin/settings/version-control.php CHANGED
@@ -85,7 +85,7 @@ class PA_Version_Control {
85
  <tr class="pa-roll-row">
86
  <th>Rollback Version</th>
87
  <td>
88
- <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.3.2', 'premium-addons-for-elementor') ); ?></div>
89
  <p class="pa-roll-desc">
90
  <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
91
  </p>
85
  <tr class="pa-roll-row">
86
  <th>Rollback Version</th>
87
  <td>
88
+ <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.3.3', 'premium-addons-for-elementor') ); ?></div>
89
  <p class="pa-roll-desc">
90
  <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
91
  </p>
assets/css/premium-addons.css CHANGED
@@ -2681,6 +2681,14 @@ button.premium-modal-box-modal-close {
2681
  .premium-button-style3-before:hover i {
2682
  opacity: 1;
2683
  }
 
 
 
 
 
 
 
 
2684
  .premium-button-text-icon-wrapper span,
2685
  .premium-button-text-icon-wrapper,
2686
  .premium-button-text-icon-wrapper i{
@@ -2824,6 +2832,12 @@ button.premium-modal-box-modal-close {
2824
  text-align: center;
2825
  }
2826
  .premium-image-button-text-icon-wrapper {
 
 
 
 
 
 
2827
  position: relative;
2828
  z-index: 3;
2829
  }
2681
  .premium-button-style3-before:hover i {
2682
  opacity: 1;
2683
  }
2684
+ .premium-button-text-icon-wrapper {
2685
+ display: -webkit-box;
2686
+ display: -webkit-flex;
2687
+ display: -ms-flexbox;
2688
+ justify-content: center;
2689
+ display: flex;
2690
+ align-items: center;
2691
+ }
2692
  .premium-button-text-icon-wrapper span,
2693
  .premium-button-text-icon-wrapper,
2694
  .premium-button-text-icon-wrapper i{
2832
  text-align: center;
2833
  }
2834
  .premium-image-button-text-icon-wrapper {
2835
+ display: -webkit-box;
2836
+ display: -webkit-flex;
2837
+ display: -ms-flexbox;
2838
+ display: flex;
2839
+ justify-content: center;
2840
+ align-items: center;
2841
  position: relative;
2842
  z-index: 3;
2843
  }
includes/class-addons-integration.php CHANGED
@@ -197,6 +197,14 @@ class Premium_Addons_Integration {
197
  PREMIUM_ADDONS_VERSION,
198
  true
199
  );
 
 
 
 
 
 
 
 
200
 
201
  wp_register_script(
202
  'premium-maps-api-js',
@@ -251,7 +259,7 @@ class Premium_Addons_Integration {
251
 
252
  if ( $premium_maps_enabled ) {
253
 
254
- wp_enqueue_script('google-maps-cluster', 'https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js', array(), PREMIUM_ADDONS_VERSION, false);
255
 
256
  }
257
 
197
  PREMIUM_ADDONS_VERSION,
198
  true
199
  );
200
+
201
+ wp_register_script(
202
+ 'google-maps-cluster',
203
+ 'https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js',
204
+ array(),
205
+ PREMIUM_ADDONS_VERSION,
206
+ false
207
+ );
208
 
209
  wp_register_script(
210
  'premium-maps-api-js',
259
 
260
  if ( $premium_maps_enabled ) {
261
 
262
+ /*wp_enqueue_script('google-maps-cluster', 'https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js', array(), PREMIUM_ADDONS_VERSION, false);*/
263
 
264
  }
265
 
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.3.3
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.3.3');
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.3.2');
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.3.4
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.3.4');
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.3.3');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 5.1.1
7
  Requires PHP: 5.4
8
- Stable tag: 3.3.3
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -139,6 +139,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
139
 
140
  == Changelog ==
141
 
 
 
 
 
 
142
  = 3.3.3 =
143
 
144
  - Fixed: `Read More` button doesn't show when `The Excerpt` post field is set in Blog widget.
5
  Requires at least: 4.5
6
  Tested up to: 5.1.1
7
  Requires PHP: 5.4
8
+ Stable tag: 3.3.4
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
139
 
140
  == Changelog ==
141
 
142
+ = 3.3.4 =
143
+
144
+ - Fixed: `markercluster.js` file is loaded even when Maps widget not on the page.
145
+ - Fixed: Text and icon are not horizontally centered in Button and Image Button widgets.
146
+
147
  = 3.3.3 =
148
 
149
  - Fixed: `Read More` button doesn't show when `The Excerpt` post field is set in Blog widget.
widgets/premium-maps.php CHANGED
@@ -29,6 +29,7 @@ class Premium_Maps extends Widget_Base {
29
 
30
  public function get_script_depends() {
31
  return [
 
32
  'premium-maps-api-js' ,
33
  'premium-maps-js'
34
  ];
29
 
30
  public function get_script_depends() {
31
  return [
32
+ 'google-maps-cluster',
33
  'premium-maps-api-js' ,
34
  'premium-maps-js'
35
  ];