From 7dabd61636422adb8f3f345d49814f6e8ac3807d Mon Sep 17 00:00:00 2001 From: Ilnur Basyrov Date: Thu, 29 Jan 2026 13:19:16 +0400 Subject: [PATCH] PLUGINS-6344 a new fix for reset cache issue --- CHANGELOG.txt | 3 +++ ecwid-shopping-cart.php | 4 ++-- readme.txt | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 89ec2414..ee9f912f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,7 @@ == Changelog == += 7.0.7 - Jan 29, 2026 = +- **Plugin code improvements for better security. Ecwid ecommerce shopping cart plugin update recommended.** + = 7.0.6 - Jan 29, 2026 = - **Plugin code improvements for better security. Ecwid ecommerce shopping cart plugin update recommended.** diff --git a/ecwid-shopping-cart.php b/ecwid-shopping-cart.php index 237dfe9e..4b3bb5dd 100644 --- a/ecwid-shopping-cart.php +++ b/ecwid-shopping-cart.php @@ -5,7 +5,7 @@ Description: Ecwid by Lightspeed is a full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up. Text Domain: ecwid-shopping-cart Author: Ecwid Ecommerce -Version: 7.0.6 +Version: 7.0.7 Author URI: https://go.lightspeedhq.com/ecwid-site License: GPLv2 or later */ @@ -1833,7 +1833,7 @@ function ecwid_clear_all_cache() if ( array_key_exists( $key, $_GET ) ) { - if ( isset( $_GET['_wpnonce'] ) && ! wp_verify_nonce( wp_unslash( $_GET['_wpnonce'] ), $key ) ) { + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( wp_unslash( $_GET['_wpnonce'] ), $key ) ) { return; } diff --git a/readme.txt b/readme.txt index 484c96d8..d7064cd5 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Requires at least: 4.4 Tested up to: 6.9 -Stable tag: 7.0.6 +Stable tag: 7.0.7 Powerful, easy to use ecommerce shopping cart for WordPress. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. @@ -152,6 +152,9 @@ You can use Ecwid’s built-in import tools to copy your store products from any * [Ecwid Help Center](http://help.ecwid.com "Ecwid Help") == Changelog == += 7.0.7 - Jan 29, 2026 = +- **Plugin code improvements for better security. Ecwid ecommerce shopping cart plugin update recommended.** + = 7.0.6 - Jan 29, 2026 = - **Plugin code improvements for better security. Ecwid ecommerce shopping cart plugin update recommended.**