Updated Release Testing Instructions WooCommerce 5.4 (markdown)
parent
474ef4ab6b
commit
390215549b
|
@ -8,7 +8,9 @@
|
|||
- 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]()
|
||||
* [WooCommerce REST API Updates](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.4#update-the-date_query-usage-in-the-crud-controller-to-be-consistent-generating-an-array-of-queries)
|
||||
- Update the `date_query` usage in the CRUD controller to be consistent, generating an array of queries
|
||||
- Add the `dates_are_gmt` parameters to REST API to searched posts using the `post_date_gmt` column.
|
||||
|
||||
***
|
||||
|
||||
|
@ -114,4 +116,14 @@ curl "https://[domain]/wp-json/wc/v3/orders?dates_are_gmt=true&after=2021-05-13T
|
|||
```
|
||||
6. Verify that the order you created in step 2 is included in the results.
|
||||
|
||||
###
|
||||
### Added the dates_are_gmt parameters to REST API to searched posts using the post_date_gmt column.
|
||||
|
||||
PR: https://github.com/woocommerce/woocommerce/pull/28132
|
||||
|
||||
To test:
|
||||
1. Install WordPress/WooCommerce with testing data.
|
||||
2. Generate some API Keys.
|
||||
3. Make a REST API request to the 'https://localhost.com/wp-json/wc/v2/orders' end point and use the `dates_are_gmt` parameters to allow the before and after parameters to use the `post_date_gmt` column if it is true. Example:
|
||||
```
|
||||
https://localhost.com/wp-json/wc/v3/orders?dates_are_gmt=true&after=2021-04-24T06:00:00&before=2021-04-24T14:00:00&consumer_key=xxx&consumer_secret=xxx
|
||||
```
|
Loading…
Reference in New Issue