woocommerce/includes/api/legacy
Diego Zanella 218aebd329 Legacy API - Use "edit" context when setting product prices
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. 6e5cdc60e8
2017-12-11 17:08:53 +00:00
..
v1 Fixed PHPCompatibility issues 2017-11-09 16:36:29 -02:00
v2 Legacy API - Use "edit" context when setting product prices 2017-12-11 17:08:53 +00:00
v3 Legacy API - Use "edit" context when setting product prices 2017-12-11 17:08:53 +00:00
class-wc-rest-legacy-coupons-controller.php Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
class-wc-rest-legacy-orders-controller.php Properly sanitize and format "dp" 2017-11-09 17:34:25 -02:00
class-wc-rest-legacy-products-controller.php Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00