f22dbd53ff
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. |
||
---|---|---|
.. | ||
v1 | ||
v2 | ||
v3 | ||
class-wc-rest-legacy-coupons-controller.php | ||
class-wc-rest-legacy-orders-controller.php | ||
class-wc-rest-legacy-products-controller.php |