Version Description
17/08/2022 =
Fixed: Widgets with Links being underlined when Hello Elementor theme is active
Fixed: Custom JS not working inside Elementor Header, Footer & Popup
Few minor bug fixes & improvements
Download this release
Release Info
Developer | wpdevteam |
Plugin | Elementor Essential Addons |
Version | 5.2.2 |
Comparing to | |
See all releases |
Code changes from version 5.2.1 to 5.2.2
essential_adons_elementor.php
CHANGED
@@ -4,13 +4,13 @@
|
|
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: 5.2.
|
8 |
* Author URI: https://wpdeveloper.com/
|
9 |
* Text Domain: essential-addons-for-elementor-lite
|
10 |
* Domain Path: /languages
|
11 |
*
|
12 |
* WC tested up to: 6.8.0
|
13 |
-
* Elementor tested up to: 3.7.
|
14 |
* Elementor Pro tested up to: 3.7.3
|
15 |
*/
|
16 |
|
@@ -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', '5.2.
|
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: 5.2.2
|
8 |
* Author URI: https://wpdeveloper.com/
|
9 |
* Text Domain: essential-addons-for-elementor-lite
|
10 |
* Domain Path: /languages
|
11 |
*
|
12 |
* WC tested up to: 6.8.0
|
13 |
+
* Elementor tested up to: 3.7.1
|
14 |
* Elementor Pro tested up to: 3.7.3
|
15 |
*/
|
16 |
|
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', '5.2.2');
|
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/Classes/Asset_Builder.php
CHANGED
@@ -102,7 +102,7 @@ class Asset_Builder {
|
|
102 |
add_action( 'wp_footer', [ $this, 'add_inline_css' ], 15 );
|
103 |
add_action( 'after_delete_post', [ $this, 'delete_cache_data' ], 10, 2 );
|
104 |
|
105 |
-
add_action( 'wp_enqueue_scripts', [ $this, 'frontend_asset_load' ] );
|
106 |
add_action( 'elementor/frontend/before_enqueue_styles', [ $this, 'ea_before_enqueue_styles' ] );
|
107 |
add_action( 'elementor/theme/register_locations', [ $this, 'load_asset_per_location' ], 20 );
|
108 |
add_filter( 'elementor/files/file_name', [ $this, 'load_asset_per_file' ] );
|
@@ -187,6 +187,9 @@ class Asset_Builder {
|
|
187 |
return false;
|
188 |
}
|
189 |
|
|
|
|
|
|
|
190 |
$locations = $instance->get_locations();
|
191 |
|
192 |
foreach ( $locations as $location => $settings ) {
|
@@ -245,6 +248,10 @@ class Asset_Builder {
|
|
245 |
$this->enqueue_asset( $this->post_id, $elements );
|
246 |
}
|
247 |
|
|
|
|
|
|
|
|
|
248 |
return $file_name;
|
249 |
}
|
250 |
|
@@ -275,8 +282,14 @@ class Asset_Builder {
|
|
275 |
}
|
276 |
|
277 |
public function register_script() {
|
278 |
-
|
279 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
}
|
281 |
|
282 |
/**
|
@@ -440,6 +453,13 @@ class Asset_Builder {
|
|
440 |
}
|
441 |
|
442 |
public function load_custom_js( $post_id ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
|
444 |
if ( ! $this->custom_js_enable ) {
|
445 |
return false;
|
102 |
add_action( 'wp_footer', [ $this, 'add_inline_css' ], 15 );
|
103 |
add_action( 'after_delete_post', [ $this, 'delete_cache_data' ], 10, 2 );
|
104 |
|
105 |
+
add_action( 'wp_enqueue_scripts', [ $this, 'frontend_asset_load' ], 100 );
|
106 |
add_action( 'elementor/frontend/before_enqueue_styles', [ $this, 'ea_before_enqueue_styles' ] );
|
107 |
add_action( 'elementor/theme/register_locations', [ $this, 'load_asset_per_location' ], 20 );
|
108 |
add_filter( 'elementor/files/file_name', [ $this, 'load_asset_per_file' ] );
|
187 |
return false;
|
188 |
}
|
189 |
|
190 |
+
// Added Elementor Pro Feature Support to Every Theme
|
191 |
+
$instance->register_all_core_location();
|
192 |
+
|
193 |
$locations = $instance->get_locations();
|
194 |
|
195 |
foreach ( $locations as $location => $settings ) {
|
248 |
$this->enqueue_asset( $this->post_id, $elements );
|
249 |
}
|
250 |
|
251 |
+
if ( ! $this->main_page ) {
|
252 |
+
$this->load_custom_js( $this->post_id );
|
253 |
+
}
|
254 |
+
|
255 |
return $file_name;
|
256 |
}
|
257 |
|
282 |
}
|
283 |
|
284 |
public function register_script() {
|
285 |
+
$css_deps = [ 'elementor-frontend' ];
|
286 |
+
$theme = wp_get_theme(); // gets the current theme
|
287 |
+
if ( in_array( 'Hello Elementor', [ $theme->name, $theme->parent_theme ] ) ) {
|
288 |
+
array_unshift( $css_deps, 'hello-elementor-theme-style' );
|
289 |
+
}
|
290 |
+
|
291 |
+
wp_register_script( 'eael-general', EAEL_PLUGIN_URL . 'assets/front-end/js/view/general.min.js', [ 'jquery' ], EAEL_PLUGIN_VERSION, true );
|
292 |
+
wp_register_style( 'eael-general', EAEL_PLUGIN_URL . "assets/front-end/css/view/general.min.css", $css_deps, EAEL_PLUGIN_VERSION );
|
293 |
}
|
294 |
|
295 |
/**
|
453 |
}
|
454 |
|
455 |
public function load_custom_js( $post_id ) {
|
456 |
+
static $post_ids_array = [];
|
457 |
+
|
458 |
+
if ( in_array( $post_id, $post_ids_array ) ) {
|
459 |
+
return false;
|
460 |
+
}
|
461 |
+
|
462 |
+
$post_ids_array[] = $post_id;
|
463 |
|
464 |
if ( ! $this->custom_js_enable ) {
|
465 |
return false;
|
languages/essential-addons-for-elementor-lite.pot
CHANGED
@@ -6,7 +6,7 @@ msgstr ""
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
-
"POT-Creation-Date: 2022-08-
|
10 |
"X-Poedit-Basepath: ..\n"
|
11 |
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
12 |
"X-Poedit-SearchPath-0: .\n"
|
@@ -14,15 +14,15 @@ msgstr ""
|
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
|
17 |
-
#: ../includes/Classes/Asset_Builder.php:
|
18 |
msgid "Added "
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: ../includes/Classes/Asset_Builder.php:
|
22 |
msgid "Compare"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: ../includes/Classes/Asset_Builder.php:
|
26 |
msgid "Loading..."
|
27 |
msgstr ""
|
28 |
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"POT-Creation-Date: 2022-08-17 09:45+0000\n"
|
10 |
"X-Poedit-Basepath: ..\n"
|
11 |
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
12 |
"X-Poedit-SearchPath-0: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
|
17 |
+
#: ../includes/Classes/Asset_Builder.php:371
|
18 |
msgid "Added "
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: ../includes/Classes/Asset_Builder.php:372, ../includes/Traits/Woo_Product_Comparable.php:2112
|
22 |
msgid "Compare"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: ../includes/Classes/Asset_Builder.php:373
|
26 |
msgid "Loading..."
|
27 |
msgstr ""
|
28 |
|
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: 6.0
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 5.2.
|
8 |
License: GPLv3
|
9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
10 |
|
@@ -242,6 +242,12 @@ Your existing elements/content will work with premium version. So you won't lose
|
|
242 |
|
243 |
== Changelog ==
|
244 |
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
|
246 |
= 5.2.1 - 14/08/2022 =
|
247 |
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 6.0
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 5.2.2
|
8 |
License: GPLv3
|
9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
10 |
|
242 |
|
243 |
== Changelog ==
|
244 |
|
245 |
+
= 5.2.2 - 17/08/2022 =
|
246 |
+
|
247 |
+
- Fixed: Widgets with Links being underlined when Hello Elementor theme is active
|
248 |
+
- Fixed: Custom JS not working inside Elementor Header, Footer & Popup
|
249 |
+
- Few minor bug fixes & improvements
|
250 |
+
|
251 |
|
252 |
= 5.2.1 - 14/08/2022 =
|
253 |
|