Premium Addons for Elementor - Version 2.4.1

Version Description

  • Tweak: Added color, typography and background color for cursor text in Premium Fancy Text widget.
  • Fix: Notice: Undefined variable: options warning.
Download this release

Release Info

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

Code changes from version 2.4.0 to 2.4.1

admin/settings-page.php CHANGED
@@ -373,7 +373,7 @@ class PA_admin_settings {
373
374
<tr class="pa-roll-row">
375
<th>Rollback Version</th>
376
- <td><div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.3.9</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div><p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p></td>
377
</tr>
378
<tr>
379
<th><h4 class="pa-beta-test">Become a Beta Tester</h4><span class="pa-beta-test-span">Turn-on Beta Tester, to get notified when a new beta version of Premium Addons for Elementor. The Beta version will not install automatically. You always have the option to ignore it.</span></th>
373
374
<tr class="pa-roll-row">
375
<th>Rollback Version</th>
376
+ <td><div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.4.0</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div><p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p></td>
377
</tr>
378
<tr>
379
<th><h4 class="pa-beta-test">Become a Beta Tester</h4><span class="pa-beta-test-span">Turn-on Beta Tester, to get notified when a new beta version of Premium Addons for Elementor. The Beta version will not install automatically. You always have the option to ignore it.</span></th>
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.4.0
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
23
if( !defined( 'ABSPATH' ) ) exit; // No access of directly access
24
25
- define( 'PREMIUM_ADDONS_VERSION', '2.4.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.3.9');
31
32
33
/**
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.4.1
7
Author: Leap13
8
Author URI: http://leap13.com/
9
Text Domain: premium-addons-for-elementor
22
23
if( !defined( 'ABSPATH' ) ) exit; // No access of directly access
24
25
+ define( 'PREMIUM_ADDONS_VERSION', '2.4.1' );
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.4.0');
31
32
33
/**
queries.php CHANGED
@@ -56,6 +56,7 @@ function premium_addons_post_type_categories(){
56
'hide_empty' => true,
57
));
58
59
if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){
60
foreach ( $terms as $term ) {
61
$options[ $term->term_id ] = $term->name;
56
'hide_empty' => true,
57
));
58
59
+ $options = array();
60
if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){
61
foreach ( $terms as $term ) {
62
$options[ $term->term_id ] = $term->name;
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
Requires at least: 4.5
6
Tested up to: 4.9.7
7
Requires PHP: 5.4
8
- Stable tag: 2.4.0
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
@@ -26,6 +26,7 @@ Premium Addons for Elementor can be used only as a complement of Elementor page
26
* 20+ Fully Customizable Elementor add-on widgets.
27
* Options panel for enabling desired widgets only for faster performance.
28
* Free Support through online forums and our Facebook group.
29
30
31
### Available Elements
@@ -99,6 +100,11 @@ Premium Addons for Elementor is light weight and we also gave you the control to
99
100
== Changelog ==
101
102
= 2.4.0 =
103
104
- Fix: Repeater issue in Grid and Fancy Text Premium widgets.
5
Requires at least: 4.5
6
Tested up to: 4.9.7
7
Requires PHP: 5.4
8
+ Stable tag: 2.4.1
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
26
* 20+ Fully Customizable Elementor add-on widgets.
27
* Options panel for enabling desired widgets only for faster performance.
28
* Free Support through online forums and our Facebook group.
29
+ * Fully Responsive and Cross Browser Compatible, Tested By [Browserstack](https://www.browserstack.com/)
30
31
32
### Available Elements
100
101
== Changelog ==
102
103
+ = 2.4.1 =
104
+
105
+ - Tweak: Added color, typography and background color for cursor text in Premium Fancy Text widget.
106
+ - Fix: Notice: Undefined variable: options warning.
107
+
108
= 2.4.0 =
109
110
- Fix: Repeater issue in Grid and Fancy Text Premium widgets.
widgets/premium-fancytext.php CHANGED
@@ -337,6 +337,56 @@ class Premium_Fancy_Text_Widget extends Widget_Base
337
338
/*End Fancy Text Settings Tab*/
339
$this->end_controls_section();
340
341
/*Start Prefix Suffix Text Settings Tab*/
342
$this->start_controls_section('premium_prefix_suffix_style_tab',
337
338
/*End Fancy Text Settings Tab*/
339
$this->end_controls_section();
340
+
341
+ /*Start Cursor Settings Tab*/
342
+ $this->start_controls_section('premium_fancy_cursor_text_style_tab',
343
+ [
344
+ 'label' => esc_html__('Cursor Text', 'premium-addons-for-elementor'),
345
+ 'tab' => Controls_Manager::TAB_STYLE,
346
+ 'condition' => [
347
+ 'premium_fancy_text_cursor_text!' => ''
348
+ ]
349
+ ]
350
+ );
351
+
352
+ /*Cursor Color*/
353
+ $this->add_control('premium_fancy_text_cursor_color',
354
+ [
355
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
356
+ 'type' => Controls_Manager::COLOR,
357
+ 'scheme' => [
358
+ 'type' => Scheme_Color::get_type(),
359
+ 'value' => Scheme_Color::COLOR_1,
360
+ ],
361
+ 'selectors' => [
362
+ '{{WRAPPER}} .typed-cursor' => 'color: {{VALUE}};',
363
+ ]
364
+ ]
365
+ );
366
+
367
+ /*Cursor Typography*/
368
+ $this->add_group_control(
369
+ Group_Control_Typography::get_type(),
370
+ [
371
+ 'name' => 'fancy_text_cursor_typography',
372
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
373
+ 'selector' => '{{WRAPPER}} .typed-cursor',
374
+ ]
375
+ );
376
+
377
+ /*Cursor Background Color*/
378
+ $this->add_control('premium_fancy_text_cursor_background',
379
+ [
380
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
381
+ 'type' => Controls_Manager::COLOR,
382
+ 'selectors' => [
383
+ '{{WRAPPER}} .typed-cursor' => 'background-color: {{VALUE}};',
384
+ ]
385
+ ]
386
+ );
387
+
388
+ /*End Cursor Style Tab*/
389
+ $this->end_controls_section();
390
391
/*Start Prefix Suffix Text Settings Tab*/
392
$this->start_controls_section('premium_prefix_suffix_style_tab',