Version Description
- Admin side performance improved
- Few minor bugfix and improvements
Download this release
Release Info
Developer | re_enter_rupok |
Plugin | Elementor Essential Addons |
Version | 2.9.6 |
Comparing to | |
See all releases |
Code changes from version 2.9.5 to 2.9.6
- admin/assets/css/admin.css +0 -0
- admin/settings.php +11 -4
- assets/css/essential-addons-elementor.css +0 -0
- assets/sass/_particles.scss +0 -0
- assets/sass/_woo-products.scss +0 -0
- essential_adons_elementor.php +51 -5
- extensions/eael-particle-section/eael-particle-section.php +0 -0
- extensions/eael-particle-section/particle-themes.php +0 -0
- includes/class-plugin-usage-tracker.php +1 -1
- includes/class-wpdev-core-install.php +0 -0
- includes/extensions.php +0 -0
- readme.txt +6 -1
admin/assets/css/admin.css
CHANGED
File without changes
|
admin/settings.php
CHANGED
@@ -46,7 +46,10 @@ class Eael_Admin_Settings {
|
|
46 |
public function __construct() {
|
47 |
|
48 |
add_action( 'admin_menu', array( $this, 'create_eael_admin_menu' ), 600 );
|
49 |
-
|
|
|
|
|
|
|
50 |
add_action( 'wp_ajax_save_settings_with_ajax', array( $this, 'eael_save_settings_with_ajax' ) );
|
51 |
add_action( 'wp_ajax_add_action_with_ajax', array( $this, 'add_action_with_ajax' ) );
|
52 |
|
@@ -93,10 +96,14 @@ class Eael_Admin_Settings {
|
|
93 |
* @return void
|
94 |
* @since 1.1.2
|
95 |
*/
|
96 |
-
public function enqueue_eael_admin_scripts() {
|
97 |
-
|
98 |
wp_enqueue_style( 'essential_addons_elementor-notice-css', plugins_url( '/', __FILE__ ).'assets/css/eael-notice.css' );
|
99 |
-
if( isset( $
|
|
|
|
|
|
|
|
|
|
|
100 |
wp_enqueue_style( 'essential_addons_elementor-admin-css', plugins_url( '/', __FILE__ ).'assets/css/admin.css' );
|
101 |
wp_enqueue_style( 'essential_addons_elementor-sweetalert2-css', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/css/sweetalert2.min.css' );
|
102 |
wp_enqueue_script( 'essential_addons_elementor-admin-js', plugins_url( '/', __FILE__ ).'assets/js/admin.js', array( 'jquery'), '1.0', true );
|
46 |
public function __construct() {
|
47 |
|
48 |
add_action( 'admin_menu', array( $this, 'create_eael_admin_menu' ), 600 );
|
49 |
+
|
50 |
+
// add_action( 'init', array( $this, 'enqueue_eael_admin_scripts' ) );
|
51 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_eael_admin_scripts' ) );
|
52 |
+
|
53 |
add_action( 'wp_ajax_save_settings_with_ajax', array( $this, 'eael_save_settings_with_ajax' ) );
|
54 |
add_action( 'wp_ajax_add_action_with_ajax', array( $this, 'add_action_with_ajax' ) );
|
55 |
|
96 |
* @return void
|
97 |
* @since 1.1.2
|
98 |
*/
|
99 |
+
public function enqueue_eael_admin_scripts( $hook ) {
|
|
|
100 |
wp_enqueue_style( 'essential_addons_elementor-notice-css', plugins_url( '/', __FILE__ ).'assets/css/eael-notice.css' );
|
101 |
+
if( isset( $hook ) && $hook == 'plugins.php' ) {
|
102 |
+
wp_enqueue_style( 'essential_addons_elementor-sweetalert2-css', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/css/sweetalert2.min.css' );
|
103 |
+
wp_enqueue_script( 'essential_addons_core-js', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/js/core.js', array( 'jquery' ), '1.0', true );
|
104 |
+
wp_enqueue_script( 'essential_addons_sweetalert2-js', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/js/sweetalert2.min.js', array( 'jquery', 'essential_addons_core-js' ), '1.0', true );
|
105 |
+
}
|
106 |
+
if( isset( $hook ) && $hook == 'elementor_page_eael-settings' ) {
|
107 |
wp_enqueue_style( 'essential_addons_elementor-admin-css', plugins_url( '/', __FILE__ ).'assets/css/admin.css' );
|
108 |
wp_enqueue_style( 'essential_addons_elementor-sweetalert2-css', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/css/sweetalert2.min.css' );
|
109 |
wp_enqueue_script( 'essential_addons_elementor-admin-js', plugins_url( '/', __FILE__ ).'assets/js/admin.js', array( 'jquery'), '1.0', true );
|
assets/css/essential-addons-elementor.css
CHANGED
File without changes
|
assets/sass/_particles.scss
CHANGED
File without changes
|
assets/sass/_woo-products.scss
CHANGED
File without changes
|
essential_adons_elementor.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Description: The ultimate elements library for Elementor page builder plugin for WordPress.
|
5 |
* Plugin URI: https://essential-addons.com/elementor/
|
6 |
* Author: WPDeveloper
|
7 |
-
* Version: 2.9.
|
8 |
* Author URI: https://wpdeveloper.net/
|
9 |
*
|
10 |
* Text Domain: essential-addons-elementor
|
@@ -16,8 +16,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
16 |
define( 'ESSENTIAL_ADDONS_EL_URL', plugins_url( '/', __FILE__ ) );
|
17 |
define( 'ESSENTIAL_ADDONS_EL_PATH', plugin_dir_path( __FILE__ ) );
|
18 |
define( 'ESSENTIAL_ADDONS_EL_ROOT', __FILE__ );
|
19 |
-
define( 'ESSENTIAL_ADDONS_VERSION', '2.9.
|
20 |
-
define( 'ESSENTIAL_ADDONS_STABLE_VERSION', '2.9.
|
21 |
define( 'ESSENTIAL_ADDONS_BASENAME', plugin_basename( __FILE__ ) );
|
22 |
|
23 |
|
@@ -325,7 +325,6 @@ if( ! function_exists( 'essential_addons_elementor_lite_start_plugin_tracking' )
|
|
325 |
essential_addons_elementor_lite_start_plugin_tracking();
|
326 |
}
|
327 |
|
328 |
-
|
329 |
function eael_init() {
|
330 |
if ( class_exists( 'Caldera_Forms' ) ) {
|
331 |
add_filter( 'caldera_forms_force_enqueue_styles_early', '__return_true' );
|
@@ -373,4 +372,51 @@ function eael_init() {
|
|
373 |
}
|
374 |
}
|
375 |
add_action( 'plugins_loaded', 'eael_init' );
|
376 |
-
require_once dirname( __FILE__ ) . '/includes/class-wpdev-notices.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
* Description: The ultimate elements library for Elementor page builder plugin for WordPress.
|
5 |
* Plugin URI: https://essential-addons.com/elementor/
|
6 |
* Author: WPDeveloper
|
7 |
+
* Version: 2.9.6
|
8 |
* Author URI: https://wpdeveloper.net/
|
9 |
*
|
10 |
* Text Domain: essential-addons-elementor
|
16 |
define( 'ESSENTIAL_ADDONS_EL_URL', plugins_url( '/', __FILE__ ) );
|
17 |
define( 'ESSENTIAL_ADDONS_EL_PATH', plugin_dir_path( __FILE__ ) );
|
18 |
define( 'ESSENTIAL_ADDONS_EL_ROOT', __FILE__ );
|
19 |
+
define( 'ESSENTIAL_ADDONS_VERSION', '2.9.6' );
|
20 |
+
define( 'ESSENTIAL_ADDONS_STABLE_VERSION', '2.9.6' );
|
21 |
define( 'ESSENTIAL_ADDONS_BASENAME', plugin_basename( __FILE__ ) );
|
22 |
|
23 |
|
325 |
essential_addons_elementor_lite_start_plugin_tracking();
|
326 |
}
|
327 |
|
|
|
328 |
function eael_init() {
|
329 |
if ( class_exists( 'Caldera_Forms' ) ) {
|
330 |
add_filter( 'caldera_forms_force_enqueue_styles_early', '__return_true' );
|
372 |
}
|
373 |
}
|
374 |
add_action( 'plugins_loaded', 'eael_init' );
|
375 |
+
require_once dirname( __FILE__ ) . '/includes/class-wpdev-notices.php';
|
376 |
+
|
377 |
+
/**
|
378 |
+
* EAE Pro Activation
|
379 |
+
*/
|
380 |
+
if( ! function_exists( 'eae_pro_filter_action_links' ) ) :
|
381 |
+
add_filter('plugin_action_links_essential-addons-elementor/essential_adons_elementor.php', 'eae_pro_filter_action_links');
|
382 |
+
function eae_pro_filter_action_links( $links ) {
|
383 |
+
if( ! function_exists( 'get_plugins' ) ) {
|
384 |
+
include ABSPATH . '/wp-admin/includes/plugin.php';
|
385 |
+
}
|
386 |
+
$activate_plugins = get_option( 'active_plugins' );
|
387 |
+
if( in_array( plugin_basename( __FILE__ ), $activate_plugins ) ) {
|
388 |
+
$pro_plugin_base_name = 'essential-addons-elementor/essential_adons_elementor.php';
|
389 |
+
if( isset( $links['activate'] ) ) {
|
390 |
+
$activate_link = $links['activate'];
|
391 |
+
// Insert an onClick action to allow form before deactivating
|
392 |
+
$activation_link = str_replace( '<a ', '<a id="eae-pro-activation" onclick="javascript:event.preventDefault();"', $activate_link );
|
393 |
+
$links['activate'] = $activation_link;
|
394 |
+
}
|
395 |
+
return $links;
|
396 |
+
}
|
397 |
+
}
|
398 |
+
endif;
|
399 |
+
|
400 |
+
if( ! function_exists( 'plugins_footer_for_pro' ) ) :
|
401 |
+
add_action( 'admin_footer-plugins.php', 'plugins_footer_for_pro' );
|
402 |
+
function plugins_footer_for_pro(){
|
403 |
+
?>
|
404 |
+
<script>
|
405 |
+
jQuery(document).ready(function( $ ){
|
406 |
+
$('#eae-pro-activation').on('click', function( e ){
|
407 |
+
e.preventDefault();
|
408 |
+
swal({
|
409 |
+
title: '<h2>Please <span style="color: red">Deactivate</span> <br><br> Free Version</h2>',
|
410 |
+
type: 'error',
|
411 |
+
html:
|
412 |
+
'You don\'t need the <span style="color: #1abc9c;font-weight: 700;">Free Version</span> to use the <span style="color: #00629a;font-weight: 700;">Premium</span> one.',
|
413 |
+
showCloseButton: true,
|
414 |
+
showCancelButton: false,
|
415 |
+
focusConfirm: false,
|
416 |
+
}).catch(swal.noop);
|
417 |
+
});
|
418 |
+
});
|
419 |
+
</script>
|
420 |
+
<?php
|
421 |
+
}
|
422 |
+
endif;
|
extensions/eael-particle-section/eael-particle-section.php
CHANGED
File without changes
|
extensions/eael-particle-section/particle-themes.php
CHANGED
File without changes
|
includes/class-plugin-usage-tracker.php
CHANGED
@@ -122,7 +122,7 @@ if( ! class_exists( 'Eael_Plugin_Usage_Tracker') ) {
|
|
122 |
|
123 |
// Use this action for local testing and for one time force tracking in a life time.
|
124 |
add_action( 'admin_init', array( $this, 'force_track_for_one_time' ) );
|
125 |
-
add_action( 'admin_init', array( $this, 'force_tracking' ) );
|
126 |
|
127 |
// Display the admin notice on activation
|
128 |
add_action( 'wpdeveloper_optin_notice', array( $this, 'optin_notice' ) );
|
122 |
|
123 |
// Use this action for local testing and for one time force tracking in a life time.
|
124 |
add_action( 'admin_init', array( $this, 'force_track_for_one_time' ) );
|
125 |
+
// add_action( 'admin_init', array( $this, 'force_tracking' ) );
|
126 |
|
127 |
// Display the admin notice on activation
|
128 |
add_action( 'wpdeveloper_optin_notice', array( $this, 'optin_notice' ) );
|
includes/class-wpdev-core-install.php
CHANGED
File without changes
|
includes/extensions.php
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: elementor, elements, addons, elementor addon, elementor widget, page build
|
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.0.3
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 2.9.
|
8 |
License: GPLv3
|
9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
10 |
|
@@ -169,6 +169,11 @@ Your existing elements/content will work with premium version. So you won't lose
|
|
169 |
|
170 |
== Changelog ==
|
171 |
|
|
|
|
|
|
|
|
|
|
|
172 |
= 2.9.5 =
|
173 |
|
174 |
- Fixed: Product grid featured products loop not working
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.0.3
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 2.9.6
|
8 |
License: GPLv3
|
9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
10 |
|
169 |
|
170 |
== Changelog ==
|
171 |
|
172 |
+
= 2.9.6 =
|
173 |
+
|
174 |
+
- Admin side performance improved
|
175 |
+
- Few minor bugfix and improvements
|
176 |
+
|
177 |
= 2.9.5 =
|
178 |
|
179 |
- Fixed: Product grid featured products loop not working
|