woocommerce/includes/legacy/api
rmalviya f22dbd53ff Parse attribute_id as int not string
In legacy API v3 for product attribute terms, the `$attribute_id` is
received as string, but is required as int for proper handling.
Use `absint` to make sure it is a valid int id and hence fix #24160.
2019-07-19 15:52:06 +05:30
..
v1 git mv legacy api 2019-06-26 11:47:08 +01:00
v2 git mv legacy api 2019-06-26 11:47:08 +01:00
v3 Parse attribute_id as int not string 2019-07-19 15:52:06 +05:30
class-wc-rest-legacy-coupons-controller.php git mv legacy api 2019-06-26 11:47:08 +01:00
class-wc-rest-legacy-orders-controller.php git mv legacy api 2019-06-26 11:47:08 +01:00
class-wc-rest-legacy-products-controller.php git mv legacy api 2019-06-26 11:47:08 +01:00