Commit Graph

12 Commits

Author SHA1 Message Date
Ron Rennick a6b1c45740 phpcs sniff fixes for class-wc-rest-products-v2-controller.php 2019-01-23 11:13:25 -04:00
Ron Rennick 8709351994 update function name to `wc_attribute_taxonomy_slug` 2019-01-23 11:11:27 -04:00
Ron Rennick b868b484f7 fix merge conflicts 2019-01-23 10:53:42 -04:00
Ron Rennick aba43ae6de phpcs sniff fixes for class-wc-rest-products-v2-controller.php 2018-12-13 16:04:53 -04:00
Ron Rennick dc0aeb0553 phpcs sniff fixes, `wc_attribute_taxonomy_name_raw()` for class-wc-rest-products-v2-controller.php 2018-12-03 11:32:19 -04:00
Ron Rennick 45370d3e61 fix `0` value attribute permalink calculation, property population in REST api 2018-11-23 11:13:25 -04:00
Rodrigo Primo 9b094fc74d Use $product->get_image_id() instead of has_post_thumbnail()
This commit replaces all instances where has_post_thumbnail() was used with $product->get_image_id(). This is a continuation of 64b589f032 and is needed to support the custom product tables plugin as has_post_thumbnail() relies on a post meta.
2018-10-18 09:28:20 -03:00
Claudiu Lodromanean 84ec31d3cc
Merge pull request #21588 from woocommerce/fix/21587
[REST API] Product downloads - Check if file ID is not empty and exists
2018-10-16 10:09:52 -07:00
Claudio Sanches 63390c181d [REST API] Fixed schema for product's downloads
Download ID are generated with wp_generate_uuid4() for while now.
Also we allow users to manipulate it.
2018-10-16 13:19:41 -03:00
Claudio Sanches 00c1a9016a Check if file ID is not empty and exists
Closes #21587
2018-10-16 13:01:51 -03:00
Claudio Sanches 99840c3914 Merge branch 'master' into feature/rest-api-v3 2018-07-12 16:07:57 -03:00
Claudio Sanches 7f1679d994 Move REST API v2 to a new directory 2018-05-17 11:27:53 +01:00