Version Description
Update : CSS & JS Assets loading improvement for Archive page Update : Admin Welcome Page Update Fix : Minor fixes and Improvements
Download this release
Release Info
Code changes from version 5.1.7 to 5.1.8
- includes/welcome-page.php +4 -4
- modules/enqueue/plus-generator.php +29 -10
- readme.txt +6 -1
- theplus_elementor_addon.php +2 -2
includes/welcome-page.php
CHANGED
@@ -94,11 +94,11 @@ echo '<div class="theplus-panel-welcome-page">';
|
|
94 |
echo '<div class="theplus-sec-subtitle">'.esc_html__('Notable additions made to The Plus Addons for Elementor.','tpebl').'</div>';
|
95 |
echo '<div class="theplus-sec-border"></div>';
|
96 |
echo '<div class="theplus-changelog-list">';
|
97 |
-
echo '<div class="changelog-date">Aug
|
98 |
echo '<ul class="changelog-list">';
|
99 |
-
echo '<li>'.esc_html__('
|
100 |
-
echo '<li>'.esc_html__('Update :
|
101 |
-
echo '<li>'.esc_html__('
|
102 |
echo '</ul>';
|
103 |
echo '</div>';
|
104 |
echo '<a href="https://wordpress.org/plugins/the-plus-addons-for-elementor-page-builder/#developers" class="theplus-panel-btn theplus-mt-8" title="'.esc_attr__('change log','tpebl').'" target="_blank">'.esc_html__('Lite Full Change log','tpebl').'</a>';
|
94 |
echo '<div class="theplus-sec-subtitle">'.esc_html__('Notable additions made to The Plus Addons for Elementor.','tpebl').'</div>';
|
95 |
echo '<div class="theplus-sec-border"></div>';
|
96 |
echo '<div class="theplus-changelog-list">';
|
97 |
+
echo '<div class="changelog-date">Aug 17,2022 <span class="changelog-version">Lite Version 5.1.8</span></div>';
|
98 |
echo '<ul class="changelog-list">';
|
99 |
+
echo '<li>'.esc_html__('Update : CSS & JS Assets loading improvement for Archive page','tpebl').'</li>';
|
100 |
+
echo '<li>'.esc_html__('Update : Admin Welcome Page Update','tpebl').'</li>';
|
101 |
+
echo '<li>'.esc_html__('Fix : Minor fixes and Improvements','tpebl').'</li>';
|
102 |
echo '</ul>';
|
103 |
echo '</div>';
|
104 |
echo '<a href="https://wordpress.org/plugins/the-plus-addons-for-elementor-page-builder/#developers" class="theplus-panel-btn theplus-mt-8" title="'.esc_attr__('change log','tpebl').'" target="_blank">'.esc_html__('Lite Full Change log','tpebl').'</a>';
|
modules/enqueue/plus-generator.php
CHANGED
@@ -271,7 +271,7 @@ Class L_Plus_Generator
|
|
271 |
}
|
272 |
}else if($type == 'js'){
|
273 |
$js_url = L_THEPLUS_ASSET_PATH . DIRECTORY_SEPARATOR . ($post_type ? 'theplus-' . $post_type : 'theplus') . ($post_id ? '-' . $post_id : '') . '.min.js';
|
274 |
-
if ( is_readable(l_theplus_library()->secure_path_url($js_url)) ) {
|
275 |
return true;
|
276 |
}
|
277 |
}
|
@@ -381,6 +381,9 @@ Class L_Plus_Generator
|
|
381 |
if (is_home() || is_singular() || is_archive() || is_search() || (isset( $wp_query ) && (bool) $wp_query->is_posts_page) || is_404()) {
|
382 |
|
383 |
$queried_object = get_queried_object_id();
|
|
|
|
|
|
|
384 |
if(is_search()){
|
385 |
$queried_object = 'search';
|
386 |
}
|
@@ -518,6 +521,9 @@ Class L_Plus_Generator
|
|
518 |
if (is_home() || is_singular() || is_archive() || is_search() || (isset( $wp_query ) && (bool) $wp_query->is_posts_page) || is_404()) {
|
519 |
|
520 |
$queried_obj = get_queried_object_id();
|
|
|
|
|
|
|
521 |
if(is_search()){
|
522 |
$queried_obj = 'search';
|
523 |
}
|
@@ -588,11 +594,16 @@ Class L_Plus_Generator
|
|
588 |
|
589 |
|
590 |
$plus_version=get_post_meta( $queried_obj, '_elementor_css', true );
|
|
|
|
|
|
|
|
|
591 |
if(!empty($plus_version) && !empty($plus_version['time'])){
|
592 |
$plus_version=$plus_version['time'];
|
593 |
-
}else{
|
594 |
-
$plus_version=time();
|
595 |
}
|
|
|
|
|
|
|
596 |
if($this->get_caching_option() && !empty($separate_path)){
|
597 |
if(isset($separate_path['css']) && !empty($separate_path['css'])){
|
598 |
|
@@ -620,6 +631,7 @@ Class L_Plus_Generator
|
|
620 |
}else if(!$this->get_caching_option()){
|
621 |
wp_enqueue_style('theplus-front-css',$this->pathurl_security($css_file),false,$plus_version);
|
622 |
|
|
|
623 |
if ($this->check_css_js_cache_files($post_type, $queried_obj,'js')) {
|
624 |
wp_enqueue_script('theplus-front-js',$this->pathurl_security($js_file),['jquery'],$plus_version,true);
|
625 |
}
|
@@ -707,15 +719,19 @@ Class L_Plus_Generator
|
|
707 |
public function add_plus_clear_cache_admin_bar( \WP_Admin_Bar $wp_admin_bar ) {
|
708 |
|
709 |
global $wp_admin_bar;
|
710 |
-
|
711 |
if ( ! is_super_admin()
|
712 |
|| ! is_object( $wp_admin_bar )
|
713 |
|| ! function_exists( 'is_admin_bar_showing' )
|
714 |
|| ! is_admin_bar_showing() ) {
|
715 |
return;
|
716 |
}
|
717 |
-
|
|
|
718 |
$queried_obj = get_queried_object_id();
|
|
|
|
|
|
|
719 |
if(is_search()){
|
720 |
$queried_obj = 'search';
|
721 |
}
|
@@ -811,11 +827,12 @@ Class L_Plus_Generator
|
|
811 |
if ( $this->is_background_running() ) {
|
812 |
return;
|
813 |
}
|
814 |
-
|
815 |
if (l_theplus_library()->is_preview_mode() && $this->requires_update) {
|
816 |
$this->transient_widgets = array_merge( $this->transient_widgets, $this->find_widgets_from_templates( $content ) );
|
817 |
-
|
818 |
|
|
|
819 |
return $content;
|
820 |
}
|
821 |
|
@@ -862,9 +879,12 @@ Class L_Plus_Generator
|
|
862 |
$uid = null;
|
863 |
|
864 |
if (!l_theplus_library()->is_preview_mode()) {
|
|
|
865 |
if (is_home() || is_singular() || is_archive() || is_search() || (isset( $wp_query ) && (bool) $wp_query->is_posts_page) || is_404()) {
|
866 |
-
$queried_obj = get_queried_object_id();
|
867 |
-
|
|
|
|
|
868 |
if(is_search()){
|
869 |
$queried_obj = 'search';
|
870 |
}
|
@@ -949,7 +969,6 @@ Class L_Plus_Generator
|
|
949 |
|
950 |
//@since 5.0.4
|
951 |
remove_filter('elementor/frontend/builder_content_data', [$this, 'tp_get_lodded_template'], 10, 2);
|
952 |
-
|
953 |
}
|
954 |
/**
|
955 |
* Returns the instance.
|
271 |
}
|
272 |
}else if($type == 'js'){
|
273 |
$js_url = L_THEPLUS_ASSET_PATH . DIRECTORY_SEPARATOR . ($post_type ? 'theplus-' . $post_type : 'theplus') . ($post_id ? '-' . $post_id : '') . '.min.js';
|
274 |
+
if ( is_readable(l_theplus_library()->secure_path_url($js_url)) || $this->requires_update) {
|
275 |
return true;
|
276 |
}
|
277 |
}
|
381 |
if (is_home() || is_singular() || is_archive() || is_search() || (isset( $wp_query ) && (bool) $wp_query->is_posts_page) || is_404()) {
|
382 |
|
383 |
$queried_object = get_queried_object_id();
|
384 |
+
if(isset($wp_query->is_post_type_archive) && !empty($wp_query->is_post_type_archive)){
|
385 |
+
$queried_obj = $wp_query->query['post_type'];
|
386 |
+
}
|
387 |
if(is_search()){
|
388 |
$queried_object = 'search';
|
389 |
}
|
521 |
if (is_home() || is_singular() || is_archive() || is_search() || (isset( $wp_query ) && (bool) $wp_query->is_posts_page) || is_404()) {
|
522 |
|
523 |
$queried_obj = get_queried_object_id();
|
524 |
+
if(isset($wp_query->is_post_type_archive) && !empty($wp_query->is_post_type_archive)){
|
525 |
+
$queried_obj = $wp_query->query['post_type'];
|
526 |
+
}
|
527 |
if(is_search()){
|
528 |
$queried_obj = 'search';
|
529 |
}
|
594 |
|
595 |
|
596 |
$plus_version=get_post_meta( $queried_obj, '_elementor_css', true );
|
597 |
+
|
598 |
+
if(empty($plus_version)){
|
599 |
+
$plus_version = $tp_version;
|
600 |
+
}
|
601 |
if(!empty($plus_version) && !empty($plus_version['time'])){
|
602 |
$plus_version=$plus_version['time'];
|
|
|
|
|
603 |
}
|
604 |
+
|
605 |
+
|
606 |
+
|
607 |
if($this->get_caching_option() && !empty($separate_path)){
|
608 |
if(isset($separate_path['css']) && !empty($separate_path['css'])){
|
609 |
|
631 |
}else if(!$this->get_caching_option()){
|
632 |
wp_enqueue_style('theplus-front-css',$this->pathurl_security($css_file),false,$plus_version);
|
633 |
|
634 |
+
//@since 5.0.4
|
635 |
if ($this->check_css_js_cache_files($post_type, $queried_obj,'js')) {
|
636 |
wp_enqueue_script('theplus-front-js',$this->pathurl_security($js_file),['jquery'],$plus_version,true);
|
637 |
}
|
719 |
public function add_plus_clear_cache_admin_bar( \WP_Admin_Bar $wp_admin_bar ) {
|
720 |
|
721 |
global $wp_admin_bar;
|
722 |
+
|
723 |
if ( ! is_super_admin()
|
724 |
|| ! is_object( $wp_admin_bar )
|
725 |
|| ! function_exists( 'is_admin_bar_showing' )
|
726 |
|| ! is_admin_bar_showing() ) {
|
727 |
return;
|
728 |
}
|
729 |
+
|
730 |
+
global $wp_query;
|
731 |
$queried_obj = get_queried_object_id();
|
732 |
+
if(isset($wp_query->is_post_type_archive) && !empty($wp_query->is_post_type_archive)){
|
733 |
+
$queried_obj = $wp_query->query['post_type'];
|
734 |
+
}
|
735 |
if(is_search()){
|
736 |
$queried_obj = 'search';
|
737 |
}
|
827 |
if ( $this->is_background_running() ) {
|
828 |
return;
|
829 |
}
|
830 |
+
|
831 |
if (l_theplus_library()->is_preview_mode() && $this->requires_update) {
|
832 |
$this->transient_widgets = array_merge( $this->transient_widgets, $this->find_widgets_from_templates( $content ) );
|
833 |
+
}
|
834 |
|
835 |
+
|
836 |
return $content;
|
837 |
}
|
838 |
|
879 |
$uid = null;
|
880 |
|
881 |
if (!l_theplus_library()->is_preview_mode()) {
|
882 |
+
global $wp_query;
|
883 |
if (is_home() || is_singular() || is_archive() || is_search() || (isset( $wp_query ) && (bool) $wp_query->is_posts_page) || is_404()) {
|
884 |
+
$queried_obj = get_queried_object_id();
|
885 |
+
if(isset($wp_query->is_post_type_archive) && !empty($wp_query->is_post_type_archive)){
|
886 |
+
$queried_obj = $wp_query->query['post_type'];
|
887 |
+
}
|
888 |
if(is_search()){
|
889 |
$queried_obj = 'search';
|
890 |
}
|
969 |
|
970 |
//@since 5.0.4
|
971 |
remove_filter('elementor/frontend/builder_content_data', [$this, 'tp_get_lodded_template'], 10, 2);
|
|
|
972 |
}
|
973 |
/**
|
974 |
* Returns the instance.
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: Elementor, elementor widgets, elements, elementor addon, elementor templat
|
|
4 |
Requires at least: 5.7.0
|
5 |
Tested up to: 6.0
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 5.1.
|
8 |
License: GPLv3
|
9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
10 |
|
@@ -279,6 +279,11 @@ We have the most advanced caching architecture, Which will never bloat your site
|
|
279 |
|
280 |
== Changelog ==
|
281 |
|
|
|
|
|
|
|
|
|
|
|
282 |
= 5.1.7 =
|
283 |
Compatibility : Elementor 3.7
|
284 |
Update : CSS & JS Assets loading improvement
|
4 |
Requires at least: 5.7.0
|
5 |
Tested up to: 6.0
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 5.1.8
|
8 |
License: GPLv3
|
9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
10 |
|
279 |
|
280 |
== Changelog ==
|
281 |
|
282 |
+
= 5.1.8 =
|
283 |
+
Update : CSS & JS Assets loading improvement for Archive page
|
284 |
+
Update : Admin Welcome Page Update
|
285 |
+
Fix : Minor fixes and Improvements
|
286 |
+
|
287 |
= 5.1.7 =
|
288 |
Compatibility : Elementor 3.7
|
289 |
Update : CSS & JS Assets loading improvement
|
theplus_elementor_addon.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: The Plus Addons for Elementor
|
4 |
* Plugin URI: https://theplusaddons.com/
|
5 |
* Description: Biggest collection of Widgets & Features to supercharge your Elementor Page builder in WordPress.
|
6 |
-
* Version: 5.1.
|
7 |
* Author: POSIMYTH
|
8 |
* Author URI: https://posimyth.com/
|
9 |
* Text Domain: tpebl
|
@@ -14,7 +14,7 @@
|
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
exit;
|
16 |
}
|
17 |
-
defined( 'L_THEPLUS_VERSION' ) or define( 'L_THEPLUS_VERSION', '5.1.
|
18 |
define( 'L_THEPLUS_FILE__', __FILE__ );
|
19 |
|
20 |
define( 'L_THEPLUS_PATH', plugin_dir_path( __FILE__ ) );
|
3 |
* Plugin Name: The Plus Addons for Elementor
|
4 |
* Plugin URI: https://theplusaddons.com/
|
5 |
* Description: Biggest collection of Widgets & Features to supercharge your Elementor Page builder in WordPress.
|
6 |
+
* Version: 5.1.8
|
7 |
* Author: POSIMYTH
|
8 |
* Author URI: https://posimyth.com/
|
9 |
* Text Domain: tpebl
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
exit;
|
16 |
}
|
17 |
+
defined( 'L_THEPLUS_VERSION' ) or define( 'L_THEPLUS_VERSION', '5.1.8' );
|
18 |
define( 'L_THEPLUS_FILE__', __FILE__ );
|
19 |
|
20 |
define( 'L_THEPLUS_PATH', plugin_dir_path( __FILE__ ) );
|