Skip to content

Commit bcc7985

Browse files
authored
Merge pull request #342 from Ecwid/dev
Dev
2 parents 7b169ea + f4408de commit bcc7985

4 files changed

Lines changed: 19 additions & 2 deletions

File tree

CHANGELOG.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
== Changelog ==
2+
= 7.0.2 - Jun 17, 2025 =
3+
- Fixed an issue where a "2" was incorrectly appended to page slugs when the "URLs without ID" feature was enabled.
4+
25
= 7.0.1 - Apr 8, 2025 =
36
- **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.
47
- **Improved security when handling Gutenberg block params. Ecwid ecommerce shopping cart plugin update recommended.**

ecwid-shopping-cart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
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.
66
Text Domain: ecwid-shopping-cart
77
Author: Ecwid Ecommerce
8-
Version: 7.0.1
8+
Version: 7.0.2
99
Author URI: https://ecwid.to/ecwid-site
1010
License: GPLv2 or later
1111
*/

includes/class-ecwid-seo-links.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,17 @@ public function slug_matches_seo_pattern( $slug ) {
216216
if ( ! $pattern ) {
217217
$patterns = self::get_seo_links_patterns();
218218

219+
// The '.*' pattern is deleted because it will always be triggered.
220+
$index = array_search( '.*', $patterns, true );
221+
if ( $index !== false ) {
222+
unset( $patterns[$index] );
223+
$patterns = array_values( $patterns );
224+
}
225+
226+
if ( empty( $patterns ) ) {
227+
return false;
228+
}
229+
219230
$pattern = '!(^' . implode( '$|^', $patterns ) . '$)!';
220231
}
221232

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ License: GPLv2 or later
55
License URI: https://www.gnu.org/licenses/gpl-2.0.html
66
Requires at least: 4.4
77
Tested up to: 6.8
8-
Stable tag: 7.0.1
8+
Stable tag: 7.0.2
99

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

@@ -152,6 +152,9 @@ You can use Ecwid’s built-in import tools to copy your store products from any
152152
* [Ecwid Help Center](http://help.ecwid.com "Ecwid Help")
153153

154154
== Changelog ==
155+
= 7.0.2 - Jun 17, 2025 =
156+
- Fixed an issue where a "2" was incorrectly appended to page slugs when the "URLs without ID" feature was enabled.
157+
155158
= 7.0.1 - Apr 8, 2025 =
156159
- **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.
157160
- **Improved security when handling Gutenberg block params. Ecwid ecommerce shopping cart plugin update recommended.**

0 commit comments

Comments
 (0)