218aebd329
Ensured that the "edit" context is used when checking if the product is on sale, like it's done when fetching product's regular and sale prices. This prevents price filters from running and, potentially, altering the prices set via the API.
* Ref. https://github.com/woocommerce/woocommerce/issues/17125
* Ref.
|
||
---|---|---|
.. | ||
v1 | ||
v2 | ||
v3 | ||
class-wc-rest-legacy-coupons-controller.php | ||
class-wc-rest-legacy-orders-controller.php | ||
class-wc-rest-legacy-products-controller.php |