Elementor Essential Addons - Version 4.9.6

Version Description

  • 03/11/2021 =

  • Improved: Asset Generator method for better performance

  • Fixed: EA Filterable Gallery | LightBox feature not working Properly

  • Fixed: EA Duplicator | showing unwanted texts if the title has special characters

  • Few minor bug fix & improvements

Download this release

Release Info

Developer wpdevteam
Plugin Icon 128x128 Elementor Essential Addons
Version 4.9.6
Comparing to
See all releases

Code changes from version 4.9.5 to 4.9.6

essential_adons_elementor.php CHANGED
@@ -4,14 +4,14 @@
4
  * Description: The Essential plugin you install after Elementor! Packed with 40+ stunning free elements including Advanced Data Table, Event Calendar, Filterable Gallery, WooCommerce, and many more.
5
  * Plugin URI: https://essential-addons.com/elementor/
6
  * Author: WPDeveloper
7
- * Version: 4.9.5
8
  * Author URI: https://wpdeveloper.net/
9
  * Text Domain: essential-addons-for-elementor-lite
10
  * Domain Path: /languages
11
  *
12
  * WC tested up to: 5.8.0
13
- * Elementor tested up to: 3.4.6
14
- * Elementor Pro tested up to: 3.4.2
15
  */
16
 
17
  if (!defined('ABSPATH')) {
@@ -27,7 +27,7 @@ define('EAEL_PLUGIN_FILE', __FILE__);
27
  define('EAEL_PLUGIN_BASENAME', plugin_basename(__FILE__));
28
  define('EAEL_PLUGIN_PATH', trailingslashit(plugin_dir_path(__FILE__)));
29
  define('EAEL_PLUGIN_URL', trailingslashit(plugins_url('/', __FILE__)));
30
- define('EAEL_PLUGIN_VERSION', '4.9.5');
31
  define('EAEL_ASSET_PATH', wp_upload_dir()['basedir'] . '/essential-addons-elementor');
32
  define('EAEL_ASSET_URL', wp_upload_dir()['baseurl'] . '/essential-addons-elementor');
33
  /**
4
  * Description: The Essential plugin you install after Elementor! Packed with 40+ stunning free elements including Advanced Data Table, Event Calendar, Filterable Gallery, WooCommerce, and many more.
5
  * Plugin URI: https://essential-addons.com/elementor/
6
  * Author: WPDeveloper
7
+ * Version: 4.9.6
8
  * Author URI: https://wpdeveloper.net/
9
  * Text Domain: essential-addons-for-elementor-lite
10
  * Domain Path: /languages
11
  *
12
  * WC tested up to: 5.8.0
13
+ * Elementor tested up to: 3.4.7
14
+ * Elementor Pro tested up to: 3.5.0
15
  */
16
 
17
  if (!defined('ABSPATH')) {
27
  define('EAEL_PLUGIN_BASENAME', plugin_basename(__FILE__));
28
  define('EAEL_PLUGIN_PATH', trailingslashit(plugin_dir_path(__FILE__)));
29
  define('EAEL_PLUGIN_URL', trailingslashit(plugins_url('/', __FILE__)));
30
+ define('EAEL_PLUGIN_VERSION', '4.9.6');
31
  define('EAEL_ASSET_PATH', wp_upload_dir()['basedir'] . '/essential-addons-elementor');
32
  define('EAEL_ASSET_URL', wp_upload_dir()['baseurl'] . '/essential-addons-elementor');
33
  /**
includes/Elements/Filterable_Gallery.php CHANGED
@@ -2947,11 +2947,11 @@ class Filterable_Gallery extends Widget_Base
2947
  if($check_popup_status){
2948
  if ($settings['eael_section_fg_full_image_action'] === 'lightbox' && !$this->popup_status) {
2949
  $this->popup_status = true;
2950
- $html .= '<a href="' . esc_url($item['image']) . '" class="eael-magnific-link media-content-wrap" data-elementor-open-lightbox="no">';
2951
  }
2952
  }else {
2953
  if ($settings['eael_section_fg_full_image_action'] === 'lightbox') {
2954
- $html .= '<a href="' . esc_url($item['image']) . '" class="eael-magnific-link media-content-wrap" data-elementor-open-lightbox="no">';
2955
  }
2956
  }
2957
 
2947
  if($check_popup_status){
2948
  if ($settings['eael_section_fg_full_image_action'] === 'lightbox' && !$this->popup_status) {
2949
  $this->popup_status = true;
2950
+ $html .= '<a href="' . esc_url($item['image']) . '" class="eael-magnific-link media-content-wrap active" data-elementor-open-lightbox="no">';
2951
  }
2952
  }else {
2953
  if ($settings['eael_section_fg_full_image_action'] === 'lightbox') {
2954
+ $html .= '<a href="' . esc_url($item['image']) . '" class="eael-magnific-link media-content-wrap active" data-elementor-open-lightbox="no">';
2955
  }
2956
  }
2957
 
includes/Extensions/Post_Duplicator.php CHANGED
@@ -48,7 +48,7 @@ class Post_Duplicator
48
  if( current_user_can('edit_posts') && ($enabled_on == 'all' || $post->post_type == $enabled_on)) {
49
  $duplicate_url = admin_url('admin.php?action=eae_duplicate&post=' . $post->ID );
50
  $duplicate_url = wp_nonce_url( $duplicate_url, 'ea_duplicator' );
51
- $actions['eae_duplicate'] = sprintf( '<a href="%s" title="%s">%s</a>', $duplicate_url, __( 'Duplicate ' . $post->post_title, 'essential-addons-for-elementor-lite'), __( 'EA Duplicator', 'essential-addons-for-elementor-lite') );
52
  }
53
  return $actions;
54
  }
48
  if( current_user_can('edit_posts') && ($enabled_on == 'all' || $post->post_type == $enabled_on)) {
49
  $duplicate_url = admin_url('admin.php?action=eae_duplicate&post=' . $post->ID );
50
  $duplicate_url = wp_nonce_url( $duplicate_url, 'ea_duplicator' );
51
+ $actions['eae_duplicate'] = sprintf( '<a href="%s" title="%s">%s</a>', $duplicate_url, __( 'Duplicate ' . esc_attr( $post->post_title ), 'essential-addons-for-elementor-lite'), __( 'EA Duplicator', 'essential-addons-for-elementor-lite') );
52
  }
53
  return $actions;
54
  }
includes/Traits/Generator.php CHANGED
@@ -96,10 +96,6 @@ trait Generator
96
  update_option('eael_editor_updated_at', strtotime('now'));
97
  }
98
 
99
- if ( !empty( $editor_updated_at ) && strtotime( 'now' ) > strtotime( '+120 seconds', $editor_updated_at ) ) {
100
- update_option('eael_editor_updated_at', strtotime('now'));
101
- }
102
-
103
  if ($elements===false) {
104
  return true;
105
  }
@@ -231,6 +227,12 @@ trait Generator
231
  $this->loaded_elements[] = 'custom-js';
232
  }
233
 
 
 
 
 
 
 
234
  // update page data
235
  update_option($this->uid . '_eael_elements', $this->loaded_elements,false);
236
  update_option($this->uid . '_eael_custom_js', $this->custom_js_strings,false);
96
  update_option('eael_editor_updated_at', strtotime('now'));
97
  }
98
 
 
 
 
 
99
  if ($elements===false) {
100
  return true;
101
  }
227
  $this->loaded_elements[] = 'custom-js';
228
  }
229
 
230
+ if ((get_the_ID() > 0 && !Plugin::$instance->documents->get(get_the_ID())->is_built_with_elementor())) {
231
+ if (empty($this->loaded_elements)) {
232
+ return;
233
+ }
234
+ }
235
+
236
  // update page data
237
  update_option($this->uid . '_eael_elements', $this->loaded_elements,false);
238
  update_option($this->uid . '_eael_custom_js', $this->custom_js_strings,false);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: elementor, elements, addons, elementor addons, elementor widget, elementor
4
  Requires at least: 5.0
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
- Stable tag: 4.9.5
8
  License: GPLv3
9
  License URI: https://opensource.org/licenses/GPL-3.0
10
 
@@ -225,6 +225,13 @@ Your existing elements/content will work with premium version. So you won't lose
225
 
226
  == Changelog ==
227
 
 
 
 
 
 
 
 
228
  = 4.9.5 - 28/10/2021 =
229
 
230
  - Fixed: EA Simple Menu | Active Page still showing on Responsive Devices
4
  Requires at least: 5.0
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
+ Stable tag: 4.9.6
8
  License: GPLv3
9
  License URI: https://opensource.org/licenses/GPL-3.0
10
 
225
 
226
  == Changelog ==
227
 
228
+ = 4.9.6 - 03/11/2021 =
229
+
230
+ - Improved: Asset Generator method for better performance
231
+ - Fixed: EA Filterable Gallery | LightBox feature not working Properly
232
+ - Fixed: EA Duplicator | showing unwanted texts if the title has special characters
233
+ - Few minor bug fix & improvements
234
+
235
  = 4.9.5 - 28/10/2021 =
236
 
237
  - Fixed: EA Simple Menu | Active Page still showing on Responsive Devices