Elementor Addon Elements - Version 1.11.3

Version Description

  • Fixed: Compatibility issue with PHP 7.2 or lower after previous release.
Download this release

Release Info

Developer wpvibes
Plugin Icon 128x128 Elementor Addon Elements
Version 1.11.3
Comparing to
See all releases

Code changes from version 1.11.2 to 1.11.3

classes/helper.php CHANGED
@@ -1509,7 +1509,7 @@ class Helper {
1509
 
1510
  public static function validate_html_tag( $tag, $allowed_tags = [], $fallback = 'div' ) {
1511
 
1512
- if(empty($allowed_tags)){
1513
  $allowed_tags = [
1514
  'article',
1515
  'aside',
1509
 
1510
  public static function validate_html_tag( $tag, $allowed_tags = [], $fallback = 'div' ) {
1511
 
1512
+ if ( empty( $allowed_tags ) ) {
1513
  $allowed_tags = [
1514
  'article',
1515
  'aside',
elementor-addon-elements.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Elementor Addon Elements comes with 25+ widgets and extensions to extend the power of Elementor Page Builder.
6
  * Plugin URI: https://www.elementoraddons.com/elements-addon-elements/
7
  * Author: WPVibes
8
- * Version: 1.11.2
9
  * Author URI: https://wpvibes.com/
10
  * Elementor tested up to: 3.1.0
11
  * Elementor Pro tested up to: 3.2.0
@@ -16,7 +16,7 @@ define( 'EAE_FILE', __FILE__ );
16
  define( 'EAE_URL', plugins_url( '/', __FILE__ ) );
17
  define( 'EAE_PATH', plugin_dir_path( __FILE__ ) );
18
  define( 'EAE_SCRIPT_SUFFIX', defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
19
- define( 'EAE_VERSION', '1.11.2' );
20
 
21
 
22
  if ( ! function_exists( '_is_elementor_installed' ) ) {
5
  * Description: Elementor Addon Elements comes with 25+ widgets and extensions to extend the power of Elementor Page Builder.
6
  * Plugin URI: https://www.elementoraddons.com/elements-addon-elements/
7
  * Author: WPVibes
8
+ * Version: 1.11.3
9
  * Author URI: https://wpvibes.com/
10
  * Elementor tested up to: 3.1.0
11
  * Elementor Pro tested up to: 3.2.0
16
  define( 'EAE_URL', plugins_url( '/', __FILE__ ) );
17
  define( 'EAE_PATH', plugin_dir_path( __FILE__ ) );
18
  define( 'EAE_SCRIPT_SUFFIX', defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
19
+ define( 'EAE_VERSION', '1.11.3' );
20
 
21
 
22
  if ( ! function_exists( '_is_elementor_installed' ) ) {
inc/bootstrap.php CHANGED
@@ -330,13 +330,13 @@ class Plugin {
330
  printf(
331
  '<a class="eae-notice-link" style="padding-right: 5px;" href="%1$s"><span class="dashicons dashicons-schedule" style="text-decoration : none; margin : 0px 3px;"></span>%2$s</a>',
332
  esc_url( add_query_arg( 'remind_later', 'later' ) ),
333
- esc_html__( 'May Be Later', 'wts-eae' ),
334
  );
335
 
336
  printf(
337
  '<a class="eae-notice-link" style="padding-right: 5px;" href="%1$s"><span class="dashicons dashicons-smiley" style="text-decoration : none; margin : 0px 3px;"></span>%2$s</a>',
338
  esc_url( add_query_arg( 'review_done', 'done' ) ),
339
- esc_html__( 'Already Done', 'wts-eae' ),
340
  );
341
  ?>
342
  </p>
@@ -417,12 +417,12 @@ class Plugin {
417
  printf(
418
  '<a class="eae-notice-link" style="padding-right: 5px;" href="%1$s"><span class="dashicons dashicons-schedule" style="text-decoration : none; margin : 0px 3px;"></span>%2$s</a>',
419
  esc_url( add_query_arg( 'fv_download_later', 'later' ) ),
420
- esc_html__( 'May Be Later', 'wts-eae' ),
421
  );
422
  printf(
423
  '<a class="eae-notice-link" style="padding-right: 5px;" href="%1$s"><span class="dashicons dashicons-smiley" style="text-decoration : none; margin : 0px 3px;"></span>%2$s</a>',
424
  esc_url( add_query_arg( 'fv_not_interested', 'done' ) ),
425
- esc_html__( 'Not Interested', 'wts-eae' ),
426
  );
427
  ?>
428
  </p>
330
  printf(
331
  '<a class="eae-notice-link" style="padding-right: 5px;" href="%1$s"><span class="dashicons dashicons-schedule" style="text-decoration : none; margin : 0px 3px;"></span>%2$s</a>',
332
  esc_url( add_query_arg( 'remind_later', 'later' ) ),
333
+ esc_html__( 'May Be Later', 'wts-eae' )
334
  );
335
 
336
  printf(
337
  '<a class="eae-notice-link" style="padding-right: 5px;" href="%1$s"><span class="dashicons dashicons-smiley" style="text-decoration : none; margin : 0px 3px;"></span>%2$s</a>',
338
  esc_url( add_query_arg( 'review_done', 'done' ) ),
339
+ esc_html__( 'Already Done', 'wts-eae' )
340
  );
341
  ?>
342
  </p>
417
  printf(
418
  '<a class="eae-notice-link" style="padding-right: 5px;" href="%1$s"><span class="dashicons dashicons-schedule" style="text-decoration : none; margin : 0px 3px;"></span>%2$s</a>',
419
  esc_url( add_query_arg( 'fv_download_later', 'later' ) ),
420
+ esc_html__( 'May Be Later', 'wts-eae' )
421
  );
422
  printf(
423
  '<a class="eae-notice-link" style="padding-right: 5px;" href="%1$s"><span class="dashicons dashicons-smiley" style="text-decoration : none; margin : 0px 3px;"></span>%2$s</a>',
424
  esc_url( add_query_arg( 'fv_not_interested', 'done' ) ),
425
+ esc_html__( 'Not Interested', 'wts-eae' )
426
  );
427
  ?>
428
  </p>
managers/module-manager.php CHANGED
@@ -13,9 +13,9 @@ class Module_Manager {
13
  // Todo:: apply filter for modules that depends on third party plugins
14
  foreach ( $this->modules as $key => $module_name ) {
15
  if ( $module_name['enabled'] == 'true' || trim( $module_name['enabled'] ) === '' || $module_name['enabled'] === null ) {
16
- $class_name = str_replace( '-', ' ', $key );
17
- $class_name = str_replace( ' ', '', ucwords( $class_name ) );
18
- $class_name = 'WTS_EAE\\Modules\\' . $class_name . '\Module';
19
  $this->modules[ $module_name['name'] ] = $class_name::instance();
20
  }
21
  }
13
  // Todo:: apply filter for modules that depends on third party plugins
14
  foreach ( $this->modules as $key => $module_name ) {
15
  if ( $module_name['enabled'] == 'true' || trim( $module_name['enabled'] ) === '' || $module_name['enabled'] === null ) {
16
+ $class_name = str_replace( '-', ' ', $key );
17
+ $class_name = str_replace( ' ', '', ucwords( $class_name ) );
18
+ $class_name = 'WTS_EAE\\Modules\\' . $class_name . '\Module';
19
  $this->modules[ $module_name['name'] ] = $class_name::instance();
20
  }
21
  }
modules/data-table/widgets/data-table.php CHANGED
@@ -2912,10 +2912,11 @@ class DataTable extends EAE_Widget_Base {
2912
 
2913
  <td <?php echo $this->get_render_attribute_string( $row_column_repeater_key ); ?>>
2914
  <div class="eae-table__body-column-wrapper">
2915
- <?php
2916
- printf('<%1$s %2$s>',
2917
- $elem,
2918
- $this->get_render_attribute_string( 'table_text' )
 
2919
  );
2920
  ?>
2921
 
@@ -2954,9 +2955,10 @@ class DataTable extends EAE_Widget_Base {
2954
  endif;
2955
  endif;
2956
  ?>
2957
- <?php
2958
- printf('</%1$s>',
2959
- $elem,
 
2960
  );
2961
  ?>
2962
  </div>
2912
 
2913
  <td <?php echo $this->get_render_attribute_string( $row_column_repeater_key ); ?>>
2914
  <div class="eae-table__body-column-wrapper">
2915
+ <?php
2916
+ printf(
2917
+ '<%1$s %2$s>',
2918
+ $elem,
2919
+ $this->get_render_attribute_string( 'table_text' )
2920
  );
2921
  ?>
2922
 
2955
  endif;
2956
  endif;
2957
  ?>
2958
+ <?php
2959
+ printf(
2960
+ '</%1$s>',
2961
+ $elem
2962
  );
2963
  ?>
2964
  </div>
modules/info-circle/skins/skin-base.php CHANGED
@@ -156,11 +156,14 @@ abstract class Skin_Base extends Elementor_Skin_Base {
156
  </div>
157
  <div class="eae-info-circle-item__content-wrap">
158
  <div class="eae-info-circle-item__content">
159
- <?php printf(
 
160
  '<%1$s class="eae-ic-heading">%2$s</%1$s>',
161
  Helper::validate_html_tag( $item['ic_item_title_size'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ], 'h3' ),
162
  $item['ic_item_title']
163
- );?>
 
 
164
 
165
  <div class="eae-ic-description">
166
  <p><?php echo $item['ic_item_content']; ?></p>
156
  </div>
157
  <div class="eae-info-circle-item__content-wrap">
158
  <div class="eae-info-circle-item__content">
159
+ <?php
160
+ printf(
161
  '<%1$s class="eae-ic-heading">%2$s</%1$s>',
162
  Helper::validate_html_tag( $item['ic_item_title_size'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ], 'h3' ),
163
  $item['ic_item_title']
164
+ );
165
+ ?>
166
+
167
 
168
  <div class="eae-ic-description">
169
  <p><?php echo $item['ic_item_content']; ?></p>
modules/price-table/widgets/price-table.php CHANGED
@@ -799,10 +799,10 @@ class PriceTable extends EAE_Widget_Base {
799
  <div class="heading-wrapper">
800
  <?php
801
  if ( ! empty( $settings['heading'] ) ) {
802
- printf(
803
  '<%1$s %2$s>%3$s</%1$s>',
804
  Helper::validate_html_tag( $settings['heading_tag'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ], 'h2' ),
805
- $this->get_render_attribute_string( 'heading' ),
806
  $settings['heading']
807
  );
808
  }
@@ -810,10 +810,10 @@ class PriceTable extends EAE_Widget_Base {
810
 
811
  <?php
812
  if ( ! empty( $settings['sub-heading'] ) ) {
813
- printf(
814
  '<%1$s %2$s>%3$s</%1$s>',
815
  Helper::validate_html_tag( $settings['sub_heading_tag'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ], 'h3' ),
816
- $this->get_render_attribute_string( 'sub_heading' ),
817
  $settings['sub-heading']
818
  );
819
  }
799
  <div class="heading-wrapper">
800
  <?php
801
  if ( ! empty( $settings['heading'] ) ) {
802
+ printf(
803
  '<%1$s %2$s>%3$s</%1$s>',
804
  Helper::validate_html_tag( $settings['heading_tag'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ], 'h2' ),
805
+ $this->get_render_attribute_string( 'heading' ),
806
  $settings['heading']
807
  );
808
  }
810
 
811
  <?php
812
  if ( ! empty( $settings['sub-heading'] ) ) {
813
+ printf(
814
  '<%1$s %2$s>%3$s</%1$s>',
815
  Helper::validate_html_tag( $settings['sub_heading_tag'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ], 'h3' ),
816
+ $this->get_render_attribute_string( 'sub_heading' ),
817
  $settings['sub-heading']
818
  );
819
  }
modules/split-text/widgets/split-text.php CHANGED
@@ -327,18 +327,18 @@ class SplitText extends EAE_Widget_Base {
327
  $arr = explode( ' ', $settings['text'] );
328
  if ( count( $arr ) <= $settings['split_count'] ) {
329
  $split_text = '<div ' . $this->get_render_attribute_string( 'eae-st-split-full-text' ) . '>' . $settings['text'] . '</div>';
330
- printf(
331
- '<%1$s class="eae-st-transform-text-title">%2$s</%1$s>',
332
- Helper::validate_html_tag( $settings['title_size'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ], 'h3' ),
333
- $split_text
334
  );
335
  } else {
336
  $split_text = '<div ' . $this->get_render_attribute_string( 'eae-st-split-text' ) . '>' . implode( ' ', array_slice( $arr, 0, $settings['split_count'] ) ) . '&nbsp;</div>';
337
  $rest_text = '<div ' . $this->get_render_attribute_string( 'eae-st-rest-text' ) . '>' . implode( ' ', array_slice( $arr, $settings['split_count'], count( $arr ) ) ) . '</div>';
338
- printf(
339
- '<%1$s class="eae-st-transform-text-title">%2$s</%1$s>',
340
- Helper::validate_html_tag( $settings['title_size'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ], 'h3' ),
341
- $split_text . $rest_text
342
  );
343
  }
344
  ?>
327
  $arr = explode( ' ', $settings['text'] );
328
  if ( count( $arr ) <= $settings['split_count'] ) {
329
  $split_text = '<div ' . $this->get_render_attribute_string( 'eae-st-split-full-text' ) . '>' . $settings['text'] . '</div>';
330
+ printf(
331
+ '<%1$s class="eae-st-transform-text-title">%2$s</%1$s>',
332
+ Helper::validate_html_tag( $settings['title_size'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ], 'h3' ),
333
+ $split_text
334
  );
335
  } else {
336
  $split_text = '<div ' . $this->get_render_attribute_string( 'eae-st-split-text' ) . '>' . implode( ' ', array_slice( $arr, 0, $settings['split_count'] ) ) . '&nbsp;</div>';
337
  $rest_text = '<div ' . $this->get_render_attribute_string( 'eae-st-rest-text' ) . '>' . implode( ' ', array_slice( $arr, $settings['split_count'], count( $arr ) ) ) . '</div>';
338
+ printf(
339
+ '<%1$s class="eae-st-transform-text-title">%2$s</%1$s>',
340
+ Helper::validate_html_tag( $settings['title_size'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ], 'h3' ),
341
+ $split_text . $rest_text
342
  );
343
  }
344
  ?>
modules/text-separator/widgets/text-separator.php CHANGED
@@ -503,10 +503,10 @@ class TextSeparator extends EAE_Widget_Base {
503
 
504
  <?php
505
  if ( $settings['title'] !== '' ) {
506
- printf(
507
  '<%1$s %2$s>%3$s</%1$s>',
508
  Helper::validate_html_tag( $settings['html_tag'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ], 'h2' ),
509
- $this->get_render_attribute_string( 'title' ),
510
  $settings['title']
511
  );
512
  }
503
 
504
  <?php
505
  if ( $settings['title'] !== '' ) {
506
+ printf(
507
  '<%1$s %2$s>%3$s</%1$s>',
508
  Helper::validate_html_tag( $settings['html_tag'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ], 'h2' ),
509
+ $this->get_render_attribute_string( 'title' ),
510
  $settings['title']
511
  );
512
  }
modules/thumb-gallery/widgets/thumb-gallery.php CHANGED
@@ -1960,10 +1960,11 @@ class ThumbGallery extends EAE_Widget_Base {
1960
  <?php if ( $settings['slides_background_overlay'] === 'yes' || $slide['slide_overlay'] === 'yes' ) { ?>
1961
  <div class="eae-background-overlay"></div>
1962
  <?php } ?>
1963
- <?php
1964
- printf('<%1$s %2$s>',
1965
- $slide_element,
1966
- $this->get_render_attribute_string( 'slide-inner' )
 
1967
  );
1968
  ?>
1969
  <?php if ( ! empty( $heading || $description || $button_text ) ) { ?>
@@ -1987,11 +1988,13 @@ class ThumbGallery extends EAE_Widget_Base {
1987
  <?php } ?>
1988
  </div>
1989
  <?php } ?>
1990
- <?php
1991
- printf('</%1$s>',
1992
- $slide_element,
1993
- );
1994
- ?>
 
 
1995
  </div>
1996
 
1997
  <?php } ?>
1960
  <?php if ( $settings['slides_background_overlay'] === 'yes' || $slide['slide_overlay'] === 'yes' ) { ?>
1961
  <div class="eae-background-overlay"></div>
1962
  <?php } ?>
1963
+ <?php
1964
+ printf(
1965
+ '<%1$s %2$s>',
1966
+ $slide_element,
1967
+ $this->get_render_attribute_string( 'slide-inner' )
1968
  );
1969
  ?>
1970
  <?php if ( ! empty( $heading || $description || $button_text ) ) { ?>
1988
  <?php } ?>
1989
  </div>
1990
  <?php } ?>
1991
+ <?php
1992
+ printf(
1993
+ '</%1$s>',
1994
+ $slide_element
1995
+ );
1996
+ ?>
1997
+
1998
  </div>
1999
 
2000
  <?php } ?>
modules/timeline/skins/skin-base.php CHANGED
@@ -1538,11 +1538,11 @@ abstract class Skin_Base extends Elementor_Skin_Base {
1538
  if ( $settings['enable_title_link'] === 'yes' ) {
1539
  $title_html .= '</a>';
1540
  }
1541
- printf(
1542
- '<%1$s itemprop="name" class="eae-tl-item-title" %2$s>%3$s</%1$s>',
1543
- Helper::validate_html_tag( $settings['html_tag'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ], 'h2' ),
1544
- '',
1545
- $title_html
1546
  );
1547
  }
1548
  }
1538
  if ( $settings['enable_title_link'] === 'yes' ) {
1539
  $title_html .= '</a>';
1540
  }
1541
+ printf(
1542
+ '<%1$s itemprop="name" class="eae-tl-item-title" %2$s>%3$s</%1$s>',
1543
+ Helper::validate_html_tag( $settings['html_tag'], [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ], 'h2' ),
1544
+ '',
1545
+ $title_html
1546
  );
1547
  }
1548
  }
readme.txt CHANGED
@@ -100,6 +100,9 @@ Column gap => No gap
100
 
101
  == Changelog ==
102
 
 
 
 
103
  = 1.11.2 =
104
  * Fixed: Sanitized options in the editor to enforce better security policies
105
 
100
 
101
  == Changelog ==
102
 
103
+ = 1.11.3 =
104
+ * Fixed: Compatibility issue with PHP 7.2 or lower after previous release.
105
+
106
  = 1.11.2 =
107
  * Fixed: Sanitized options in the editor to enforce better security policies
108