woocommerce/includes/api/legacy/v2
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
..
class-wc-api-authentication.php Fix missing return statement (#16148) 2017-07-20 18:01:14 +01:00
class-wc-api-coupons.php Fixed missing hooks in legacy REST API 2017-08-10 18:57:31 -03:00
class-wc-api-customers.php Fix missing return statement (#16148) 2017-07-20 18:01:14 +01:00
class-wc-api-exception.php Deprecated our API in favor of WP API 2016-02-16 18:22:12 -02:00
class-wc-api-json-handler.php WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
class-wc-api-orders.php Fixed missing hooks in legacy REST API 2017-08-10 18:57:31 -03:00
class-wc-api-products.php Legacy API - Use "edit" context when setting product prices 2017-12-11 17:08:53 +00:00
class-wc-api-reports.php Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
class-wc-api-resource.php Fix missing return statement (#16148) 2017-07-20 18:01:14 +01:00
class-wc-api-server.php Allow stdClass in legacy API server add_pagination_headers 2017-11-28 15:11:00 -02:00
class-wc-api-webhooks.php Soft deprecated webhook deliveries REST API endpoints 2017-11-30 16:20:20 -02:00
interface-wc-api-handler.php Deprecated our API in favor of WP API 2016-02-16 18:22:12 -02:00