woocommerce/plugins
Jorge A. Torres 055ed34c0d
[COT] Add support for /v3/orders (#34178)
* Use WC_Order_Query for REST API v3 requests when COT is enabled

* Remove pre-COT internal meta keys from metadata in REST order responses

* Add changelog

* Add unit tests

* Fix test in `ProductAttributesLookup\FiltererTest`

Some tests in this class relied on a particular ordering of an array of IDs returned by a query with an `ORDER BY` that doesn’t really disambiguate sorting (all rows have the same values for the fields). As such, `assertEquals()` can’t be used to make sure arrays had the same values.

* Use `get_internal_meta_keys()` from a CPT instance to hide certain meta on COT REST response

* Move COT REST test outside of the COT datastore tests

* Fix typo

* Remove unnecessary imports
2022-08-11 13:11:18 +05:30
..
woocommerce [COT] Add support for /v3/orders (#34178) 2022-08-11 13:11:18 +05:30
woocommerce-admin Keep the user in the marketing task after installing an extension (#34241) 2022-08-11 08:56:58 +08:00
woocommerce-beta-tester Simplify turbo commands (#34055) 2022-08-05 12:03:17 +12:00