Updated Release Testing Instructions WooCommerce 5.4 (markdown)
parent
932e448b9f
commit
474ef4ab6b
|
@ -8,6 +8,7 @@
|
|||
- On the action of deleting a product category, we want to reassign any products that have been assigned to deleted category categories to a default `Uncategorized` category. Closes [#29540](https://github.com/woocommerce/woocommerce/issues/29540)
|
||||
- Make rounding more accurate when prices are entered more than 2dp. Closes [#24184](https://github.com/woocommerce/woocommerce/issues/24184) and [#28292](https://github.com/woocommerce/woocommerce/issues/28292)
|
||||
- Fix: image size customisation controls not shown when theme doesn't define them but Woo core does. Closes [#25900](https://github.com/woocommerce/woocommerce/issues/25900)
|
||||
* [WooCommerce REST API Updates]()
|
||||
|
||||
***
|
||||
|
||||
|
@ -96,3 +97,21 @@ To test:
|
|||
|
||||
***
|
||||
|
||||
## WooCommerce REST API Updates
|
||||
|
||||
### Update the `date_query` usage in the CRUD controller to be consistent, generating an array of queries.
|
||||
|
||||
PR: https://github.com/woocommerce/woocommerce/pull/29909
|
||||
|
||||
To test:
|
||||
1. From the WordPress general settings page (/wp-admin/options-general.php), set the timezone of your site to "UTC +4".
|
||||
2. Create a new order from WooCommerce > Orders > Add Order (/wp-admin/post-new.php?post_type=shop_order).
|
||||
3. Set the date created to 2021-05-14 @ 00:00.
|
||||
4. Create a REST API Key from WooCommerce > Settings > Advanced > REST API. Take note of the consumer key and secret.
|
||||
5. Make a request to the orders endpoint to verify that `post_date_gmt` is used. See example below. Replace [domain], [consumer_key], and [consumer_secret]:
|
||||
```
|
||||
curl "https://[domain]/wp-json/wc/v3/orders?dates_are_gmt=true&after=2021-05-13T19:00:00&before=2021-05-13T22:00:00&consumer_key=[consumer_key]&consumer_secret=[consumer_secret]"
|
||||
```
|
||||
6. Verify that the order you created in step 2 is included in the results.
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in New Issue