plugin updates

This commit is contained in:
Tony Volpe
2024-10-02 17:12:33 -04:00
parent f6021c7c22
commit 5e5b879a68
18 changed files with 1380 additions and 1354 deletions

View File

@@ -2,14 +2,14 @@
# This file is distributed under the same license as the WooCommerce plugin.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce 9.3.2\n"
"Project-Id-Version: WooCommerce 9.3.3\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-09-18T13:36:43+00:00\n"
"POT-Creation-Date: 2024-09-25T08:21:07+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.11.0\n"
"X-Domain: woocommerce\n"
@@ -20884,7 +20884,7 @@ msgstr ""
#: includes/class-wc-form-handler.php:295
#: includes/wc-user-functions.php:54
#: src/StoreApi/Routes/V1/Checkout.php:620
#: src/StoreApi/Routes/V1/Checkout.php:621
msgid "Please provide a valid email address."
msgstr ""
@@ -40420,35 +40420,35 @@ msgid "There was a problem with the provided additional fields: %s is required"
msgstr ""
#. translators: %s: is the field label
#: src/StoreApi/Routes/V1/Checkout.php:211
#: src/StoreApi/Routes/V1/Checkout.php:212
msgid "There was a problem with the provided billing address: %s is required"
msgstr ""
#. translators: %s: is the field label
#: src/StoreApi/Routes/V1/Checkout.php:219
#: src/StoreApi/Routes/V1/Checkout.php:220
msgid "There was a problem with the provided shipping address: %s is required"
msgstr ""
#: src/StoreApi/Routes/V1/Checkout.php:476
#: src/StoreApi/Routes/V1/Checkout.php:477
msgid "Unable to create order"
msgstr ""
#: src/StoreApi/Routes/V1/Checkout.php:557
#: src/StoreApi/Routes/V1/Checkout.php:558
#: src/StoreApi/Routes/V1/CheckoutOrder.php:244
msgid "No payment method provided."
msgstr ""
#. Translators: %s Payment method ID.
#: src/StoreApi/Routes/V1/Checkout.php:571
#: src/StoreApi/Routes/V1/Checkout.php:572
msgid "%s is not available for this order—please choose a different payment method"
msgstr ""
#. Translators: %s Email address.
#: src/StoreApi/Routes/V1/Checkout.php:628
#: src/StoreApi/Routes/V1/Checkout.php:629
msgid "An account is already registered with %s. Please log in or use a different email address."
msgstr ""
#: src/StoreApi/Routes/V1/Checkout.php:636
#: src/StoreApi/Routes/V1/Checkout.php:637
msgid "Please create a password for your account."
msgstr ""

View File

@@ -371,7 +371,7 @@ class WC_Product_CSV_Importer_Controller {
*
* @since 3.1.0
*/
'lines' => apply_filters( 'woocommerce_product_import_batch_size', 1 ),
'lines' => apply_filters( 'woocommerce_product_import_batch_size', 30 ),
'parse' => true,
);

View File

@@ -46,7 +46,7 @@ final class WooCommerce {
*
* @var string
*/
public $version = '9.3.2';
public $version = '9.3.3';
/**
* WooCommerce Schema version.

View File

@@ -4,7 +4,7 @@ Tags: online store, ecommerce, shop, shopping cart, sell online
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 9.3.1
Stable tag: 9.3.2
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -169,11 +169,10 @@ WooCommerce comes with some sample data you can use to see how products look; im
== Changelog ==
= 9.3.2 2024-09-18 =
= 9.3.3 2024-09-25 =
- Fix - Improve the product importer's handling of filepaths under Windows [#51456](https://github.com/woocommerce/woocommerce/pull/51456)
- Fix - Revert changes related to low stock product notifications [#51441](https://github.com/woocommerce/woocommerce/pull/51441)
- Fix - Resolve a bug where manually triggering `added_to_cart` event without a button element caused an Exception [#51449](https://github.com/woocommerce/woocommerce/pull/51449)
- Fix - An issue where virtual products could not be purchased when using the Additional Fields API [#51630](https://github.com/woocommerce/woocommerce/pull/51630)
- Fix - Restore the previous default for `woocommerce_product_import_batch_size` (process 30 lines per batch when importing product CSV data) [#51631] (https://github.com/woocommerce/woocommerce/pull/51631)
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/changelog.txt).

View File

@@ -203,6 +203,7 @@ class Checkout extends AbstractCartRoute {
$address_fields = $this->additional_fields_controller->get_fields_for_location( 'address' );
if ( ! empty( $address_fields ) ) {
$needs_shipping = WC()->cart->needs_shipping();
foreach ( $address_fields as $field_key => $address_field ) {
if ( $address_field['required'] && ! isset( $request['billing_address'][ $field_key ] ) ) {
throw new RouteException(
@@ -212,7 +213,7 @@ class Checkout extends AbstractCartRoute {
400
);
}
if ( $address_field['required'] && ! isset( $request['shipping_address'][ $field_key ] ) ) {
if ( $needs_shipping && $address_field['required'] && ! isset( $request['shipping_address'][ $field_key ] ) ) {
throw new RouteException(
'woocommerce_rest_checkout_missing_required_field',
/* translators: %s: is the field label */

View File

@@ -1,8 +1,8 @@
<?php return array(
'root' => array(
'name' => 'woocommerce/woocommerce',
'pretty_version' => '9.3.2',
'version' => '9.3.2.0',
'pretty_version' => '9.3.3',
'version' => '9.3.3.0',
'reference' => null,
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
@@ -212,8 +212,8 @@
'dev_requirement' => false,
),
'woocommerce/woocommerce' => array(
'pretty_version' => '9.3.2',
'version' => '9.3.2.0',
'pretty_version' => '9.3.3',
'version' => '9.3.3.0',
'reference' => null,
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',

View File

@@ -15,15 +15,15 @@ return array(
'path' => $vendorDir . '/automattic/jetpack-assets/actions.php'
),
'44e8414cd27982ecf86403af6e48f123' => array(
'version' => '9.3.2.0',
'version' => '9.3.3.0',
'path' => $baseDir . '/src/StoreApi/deprecated.php'
),
'9ce98895d0a470c71998c4b530020d26' => array(
'version' => '9.3.2.0',
'version' => '9.3.3.0',
'path' => $baseDir . '/src/StoreApi/functions.php'
),
'c379ea42c3f5964a973a7106b08c5ef0' => array(
'version' => '9.3.2.0',
'version' => '9.3.3.0',
'path' => $baseDir . '/src/Blocks/Domain/Services/functions.php'
),
);

View File

@@ -3,7 +3,7 @@
* Plugin Name: WooCommerce
* Plugin URI: https://woocommerce.com/
* Description: An ecommerce toolkit that helps you sell anything. Beautifully.
* Version: 9.3.2
* Version: 9.3.3
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woocommerce