Premium Addons for Elementor - Version 3.9.6

Version Description

  • Fixed: Style #7 alignment issue in Title widget.
Download this release

Release Info

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

Code changes from version 3.9.5 to 3.9.6

admin/includes/admin-notices.php CHANGED
@@ -40,7 +40,7 @@ class Admin_Notices {
40
41
// $this->handle_det_notice();
42
43
- $this->handle_bf_notice();
44
45
}
46
@@ -59,7 +59,7 @@ class Admin_Notices {
59
$this->get_review_notice();
60
}
61
62
- $this->get_bf_notice();
63
64
// $this->get_det_notice();
65
@@ -136,30 +136,6 @@ class Admin_Notices {
136
exit;
137
}
138
139
- /**
140
- *
141
- * Checks if Black Friday message is dismissed.
142
- *
143
- * @access public
144
- * @return void
145
- *
146
- */
147
- public function handle_bf_notice() {
148
-
149
- if ( ! isset( $_GET['papro_bf'] ) ) {
150
- return;
151
- }
152
-
153
- if ( 'opt_out' === $_GET['papro_bf'] ) {
154
- check_admin_referer( 'opt_out' );
155
-
156
- update_option( 'papro_bf_notice', '1' );
157
- }
158
-
159
- wp_redirect( remove_query_arg( 'papro_bf' ) );
160
-
161
- exit;
162
- }
163
164
/**
165
* Required plugin check
@@ -301,46 +277,7 @@ class Admin_Notices {
301
302
}
303
304
- /**
305
- *
306
- * Shows an admin notice for Black Friday.
307
- *
308
- * @since 2.7.6
309
- * @return void
310
- *
311
- */
312
- public function get_bf_notice() {
313
-
314
- $papro_path = 'premium-addons-pro/premium-addons-pro-for-elementor.php';
315
-
316
- $is_papro_installed = Helper_Functions::is_plugin_installed( $papro_path );
317
-
318
- $license_status = get_option( 'papro_license_status' );
319
-
320
- $bf_notice = get_option( 'papro_bf_notice' );
321
-
322
- if( ( $is_papro_installed && 'valid' === $license_status ) || '1' === $bf_notice )
323
- return;
324
-
325
- $theme = Helper_Functions::get_installed_theme();
326
-
327
- $link = sprintf( 'https://premiumaddons.com/black-friday?utm_source=black-friday-2019-notification&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme );
328
-
329
- $optout_url = wp_nonce_url( add_query_arg( 'papro_bf', 'opt_out' ), 'opt_out' );
330
-
331
- $message = '<div class="pa-bf-notice-img">';
332
-
333
- $message .= sprintf( '<img src="%s" style="width: 100%%; height: 100%%">', PREMIUM_ADDONS_URL .'admin/images/premium-addons-black-friday.png' );
334
-
335
- $message .= sprintf( '<a class="pa-bf-notice-cta" href="%s" target="_blank"></a>', $link );
336
-
337
- $message .= '</div>';
338
-
339
- $message .= sprintf( __('<a class="pa-notice-close" href="%s"><span class="dashicons dashicons-dismiss"></span></a>', 'premium-addons-for-elementor'), $optout_url );
340
-
341
- $this->render_admin_notices( $message, 'pa-bf-notice-wrap' );
342
-
343
- }
344
345
/**
346
*
40
41
// $this->handle_det_notice();
42
43
+
44
45
}
46
59
$this->get_review_notice();
60
}
61
62
+
63
64
// $this->get_det_notice();
65
136
exit;
137
}
138
139
140
/**
141
* Required plugin check
277
278
}
279
280
+
281
282
/**
283
*
assets/frontend/js/premium-addons.js CHANGED
@@ -905,7 +905,7 @@
905
.toggleClass("is-focused");
906
});
907
};
908
-
909
//Elementor JS Hooks
910
$(window).on("elementor/frontend/init", function() {
911
elementorFrontend.hooks.addAction(
@@ -952,7 +952,7 @@
952
"frontend/element_ready/premium-contact-form.default",
953
PremiumContactFormHandler
954
);
955
-
956
if (elementorFrontend.isEditMode()) {
957
elementorFrontend.hooks.addAction(
958
"frontend/element_ready/premium-addon-progressbar.default",
905
.toggleClass("is-focused");
906
});
907
};
908
+
909
//Elementor JS Hooks
910
$(window).on("elementor/frontend/init", function() {
911
elementorFrontend.hooks.addAction(
952
"frontend/element_ready/premium-contact-form.default",
953
PremiumContactFormHandler
954
);
955
+
956
if (elementorFrontend.isEditMode()) {
957
elementorFrontend.hooks.addAction(
958
"frontend/element_ready/premium-addon-progressbar.default",
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.9.5
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.9.5');
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.9.4');
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.9.6
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.9.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.9.5');
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.3
7
Requires PHP: 5.4
8
- Stable Tag: 3.9.5
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.9.5 =
179
180
- Fixed: Style #2 caption hover animation issue in Media Grid widget.
5
Requires at Least: 4.5
6
Tested Up To: 5.3
7
Requires PHP: 5.4
8
+ Stable Tag: 3.9.6
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
175
176
== Changelog ==
177
178
+ = 3.9.6 =
179
+
180
+ - Fixed: Style #7 alignment issue in Title widget.
181
+
182
= 3.9.5 =
183
184
- Fixed: Style #2 caption hover animation issue in Media Grid widget.
widgets/premium-grid.php CHANGED
@@ -305,7 +305,7 @@ class Premium_Grid extends Widget_Base {
305
'min' => -180,
306
'max' => 180,
307
'selectors' => [
308
- '{{WRAPPER}} {{CURRENT_ITEM}}' => '-webkit-transform: rotate({{VALUE}}deg); -moz-transform: rotate({{VALUE}}deg); -o-transform: rotate({{VALUE}}deg); transform: rotate({{VALUE}}deg);'
309
],
310
]
311
);
305
'min' => -180,
306
'max' => 180,
307
'selectors' => [
308
+ '{{WRAPPER}} {{CURRENT_ITEM}}' => 'transform: rotate({{VALUE}}deg);'
309
],
310
]
311
);
widgets/premium-person.php CHANGED
@@ -42,6 +42,10 @@ class Premium_Person extends Widget_Base {
42
return [ 'premium-elements' ];
43
}
44
45
public function get_custom_help_url() {
46
return 'https://premiumaddons.com/support/';
47
}
42
return [ 'premium-elements' ];
43
}
44
45
+ public function get_keywords() {
46
+ return [ 'team', 'member' ];
47
+ }
48
+
49
public function get_custom_help_url() {
50
return 'https://premiumaddons.com/support/';
51
}
widgets/premium-title.php CHANGED
@@ -628,10 +628,10 @@ class Premium_Title extends Widget_Base {
628
<span <?php echo $this->get_render_attribute_string('premium_title_text'); ?>>
629
<?php echo esc_html( $settings['premium_title_text'] ); ?>
630
</span>
631
- </<?php echo $title_tag; ?>>
632
<?php if ( $settings['premium_title_style'] === 'style7' ) : ?>
633
</div>
634
<?php endif; ?>
635
</div>
636
637
<?php
@@ -681,10 +681,10 @@ class Premium_Title extends Widget_Base {
681
<# }
682
} #>
683
<span {{{ view.getRenderAttributeString('premium_title_text') }}}>{{{ titleText }}}</span>
684
</{{{titleTag}}}>
685
- <# if( 'style7' === selectedStyle ) { #>
686
- </div>
687
- <# } #>
688
</div>
689
690
<?php
628
<span <?php echo $this->get_render_attribute_string('premium_title_text'); ?>>
629
<?php echo esc_html( $settings['premium_title_text'] ); ?>
630
</span>
631
<?php if ( $settings['premium_title_style'] === 'style7' ) : ?>
632
</div>
633
<?php endif; ?>
634
+ </<?php echo $title_tag; ?>>
635
</div>
636
637
<?php
681
<# }
682
} #>
683
<span {{{ view.getRenderAttributeString('premium_title_text') }}}>{{{ titleText }}}</span>
684
+ <# if( 'style7' === selectedStyle ) { #>
685
+ </div>
686
+ <# } #>
687
</{{{titleTag}}}>
688
</div>
689
690
<?php