Skip to content
Merged

Dev #342

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
== Changelog ==
= 7.0.2 - Jun 17, 2025 =
- Fixed an issue where a "2" was incorrectly appended to page slugs when the "URLs without ID" feature was enabled.

= 7.0.1 - Apr 8, 2025 =
- **WordPress 6.8 compatibility.** The new WordPress version will be released soon. The Ecwid ecommerce shopping cart plugin is ready for the new release — everything works well in your WordPress admin and storefront pages. Feel free to upgrade your site to WordPress 6.8.
- **Improved security when handling Gutenberg block params. Ecwid ecommerce shopping cart plugin update recommended.**
Expand Down
2 changes: 1 addition & 1 deletion ecwid-shopping-cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
Version: 7.0.2
Author URI: https://ecwid.to/ecwid-site
License: GPLv2 or later
*/
Expand Down
11 changes: 11 additions & 0 deletions includes/class-ecwid-seo-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,17 @@ public function slug_matches_seo_pattern( $slug ) {
if ( ! $pattern ) {
$patterns = self::get_seo_links_patterns();

// The '.*' pattern is deleted because it will always be triggered.
$index = array_search( '.*', $patterns, true );
if ( $index !== false ) {
unset( $patterns[$index] );
$patterns = array_values( $patterns );
}

if ( empty( $patterns ) ) {
return false;
}

$pattern = '!(^' . implode( '$|^', $patterns ) . '$)!';
}

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.8
Stable tag: 7.0.1
Stable tag: 7.0.2

Powerful, easy to use ecommerce shopping cart for WordPress. Sell on Facebook and Instagram. iPhone & Android apps. Superb support.

Expand Down Expand Up @@ -153,6 +153,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.2 - Jun 17, 2025 =
- Fixed an issue where a "2" was incorrectly appended to page slugs when the "URLs without ID" feature was enabled.

= 7.0.1 - Apr 8, 2025 =
- **WordPress 6.8 compatibility.** The new WordPress version will be released soon. The Ecwid ecommerce shopping cart plugin is ready for the new release — everything works well in your WordPress admin and storefront pages. Feel free to upgrade your site to WordPress 6.8.
- **Improved security when handling Gutenberg block params. Ecwid ecommerce shopping cart plugin update recommended.**
Expand Down
Loading