Skip to content

Commit eb17e10

Browse files
committed
Update WooCommerce plugin from 10.5.2 to 10.5.3
1 parent 64c5f63 commit eb17e10

File tree

8 files changed

+1584
-1583
lines changed

8 files changed

+1584
-1583
lines changed

wp-content/plugins/woocommerce/i18n/languages/woocommerce.pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the same license as the WooCommerce plugin.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: WooCommerce 10.5.2\n"
5+
"Project-Id-Version: WooCommerce 10.5.3\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2026-02-13T14:46:30+00:00\n"
12+
"POT-Creation-Date: 2026-03-02T17:18:38+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.12.0\n"
1515
"X-Domain: woocommerce\n"
@@ -47897,7 +47897,7 @@ msgstr ""
4789747897
msgid "Checkout session cannot be updated. Current status: %1$s. Allowed statuses: %2$s"
4789847898
msgstr ""
4789947899

47900-
#: src/StoreApi/Routes/V1/Batch.php:121
47900+
#: src/StoreApi/Routes/V1/Batch.php:122
4790147901
msgid "Invalid path provided."
4790247902
msgstr ""
4790347903

wp-content/plugins/woocommerce/includes/class-woocommerce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ final class WooCommerce {
5050
*
5151
* @var string
5252
*/
53-
public $version = '10.5.2';
53+
public $version = '10.5.3';
5454

5555
/**
5656
* WooCommerce Schema version.

wp-content/plugins/woocommerce/readme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: online store, ecommerce, shop, shopping cart, sell online
44
Requires at least: 6.8
55
Tested up to: 6.9
66
Requires PHP: 7.4
7-
Stable tag: 10.5.1
7+
Stable tag: 10.5.2
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -170,11 +170,11 @@ WooCommerce comes with some sample data you can use to see how products look; im
170170

171171
== Changelog ==
172172

173-
= 10.5.2 2026-02-13 =
173+
= 10.5.3 2026-03-02 =
174174

175175
**WooCommerce**
176176

177-
* Fix - Fix variable products add-to-cart button appearing disabled in some stores [#63262](https://github.com/woocommerce/woocommerce/pull/63262)
177+
* Fix - Fix Store API batch endpoint path validation to prevent routing requests to non-Store-API endpoints. [#63501](https://github.com/woocommerce/woocommerce/pull/63501)
178178

179179

180180
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/changelog.txt).

wp-content/plugins/woocommerce/src/StoreApi/Routes/V1/Batch.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ public function get_args() {
117117
public function get_response( WP_REST_Request $request ) {
118118
try {
119119
foreach ( $request['requests'] as $args ) {
120-
if ( ! stristr( $args['path'], 'wc/store' ) ) {
120+
$parsed_path = wp_parse_url( $args['path'], PHP_URL_PATH );
121+
if ( ! $parsed_path || strpos( $parsed_path, '/wc/store' ) !== 0 ) {
121122
throw new RouteException( 'woocommerce_rest_invalid_path', __( 'Invalid path provided.', 'woocommerce' ), 400 );
122123
}
123124
}

wp-content/plugins/woocommerce/vendor/composer/installed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php return array(
22
'root' => array(
33
'name' => 'woocommerce/woocommerce',
4-
'pretty_version' => '10.5.2',
5-
'version' => '10.5.2.0',
4+
'pretty_version' => '10.5.3',
5+
'version' => '10.5.3.0',
66
'reference' => null,
77
'type' => 'wordpress-plugin',
88
'install_path' => __DIR__ . '/../../',
@@ -194,8 +194,8 @@
194194
'dev_requirement' => false,
195195
),
196196
'woocommerce/woocommerce' => array(
197-
'pretty_version' => '10.5.2',
198-
'version' => '10.5.2.0',
197+
'pretty_version' => '10.5.3',
198+
'version' => '10.5.3.0',
199199
'reference' => null,
200200
'type' => 'wordpress-plugin',
201201
'install_path' => __DIR__ . '/../../',

0 commit comments

Comments
 (0)