Commit Graph

31 Commits

Author SHA1 Message Date
strelkov 63d6ded7aa Fix for get categories endpoint
to get proper display mode, image and order

issue
https://github.com/woocommerce/woocommerce/issues/23407
2019-04-20 11:37:23 +02:00
Gerhard 86ec50f359 Update all *_woocommerce_term_meta calls to *_term_meta calls 2019-04-16 12:14:51 +02:00
Rodrigo Primo a18c44d76e Replace call to deprecated function delete_woocommerce_term_meta()
This commit replaces a call to deprecated function `delete_woocommerce_term_meta()` with its replacement `delete_term_meta()`. `delete_woocommerce_term_meta()` was deprecated by 32ae0192e5 and all calls removed, but PR #22553 that was created about the same time added a new call to this function.
2019-04-15 15:33:27 -03:00
Mike Jolley b2c33b8e34 Merge branch 'master' into performance/slow-term-queries 2019-02-07 13:49:48 +00:00
Mike Jolley 32ae0192e5 Use WP term meta functions 2019-01-25 20:47:54 +00:00
Ron Rennick 60a6895eee php sniff fixes for class-wc-rest-product-categories-controller.php 2019-01-25 09:53:37 -04:00
Ron Rennick e73eabf679 use `name` for POST/PUT category image name for consistency in api V3 2019-01-24 15:38:45 -04:00
Peter Fabian dd9fe541f7 Updated schema for v3 API. 2018-05-17 16:38:47 +01:00
Peter Fabian e02989361c Change image title to name in v3. 2018-05-17 15:50:27 +01:00
Claudio Sanches f02e4e3088 Initial REST API v3 files 2018-05-17 11:44:46 +01:00
Claudio Sanches f0d37ff4f5 Fixed PHPCS violations on REST API 2018-03-06 15:04:58 -03:00
Claudio Sanches e8017e985b Fixed coding standards issues with PHPCBF 2018-03-05 17:53:06 -03:00
Gerhard Potgieter 5f534e7388 Change product categories image object schema from name to title to bring docs in line with the actual output. 2017-11-29 11:06:41 +02:00
Claudio Sanches 6e9ad75be5 Category image is a single object 2017-10-25 20:41:31 -02:00
Claudio Sanches 4b90c12db1 Fixed coding standards.
Still missing fix the file name, but I'll leave it for 3.3
2017-10-25 20:40:44 -02:00
Claudio Sanches 984edf07d2 Missing period 2017-04-02 03:27:58 -03:00
Claudio Sanches dbd2409e03 [REST API] Added timezone and GMT dates in category image 2017-03-22 18:17:53 -03:00
Claudio Sanches d02d90c867 V1 and V2 for product taxonomies, reviews, reports, taxes and webhooks 2017-02-11 12:51:41 -02:00
Claudio Sanches 4352484ed7 REST API v2 2017-02-09 15:06:13 -02:00
Mike Jolley ba62599da0 Use objects, rather than arrays in schema when properties are defined 2016-12-07 11:36:46 +00:00
Mike Jolley deec278d4a Only update menu order and display if set.
Closes #12411
2016-11-22 15:50:35 +00:00
Claudio Sanches fa7775254b REST API - Allow remove product category image (#12247)
* Allow remove product category images

* Allow remove sending an empty array too
2016-11-04 10:19:34 +00:00
Nicola Mustone 5613985882 Capitalise all the things 2016-07-26 15:47:04 +02:00
Claudio Sanches 5719df4393 [REST API] Image ID is not read only 2016-06-02 20:31:41 -03:00
Claudio Sanches e08e5dcb20 [REST API] Improve categories image data 2016-06-02 16:48:16 -03:00
Mike Jolley 7cacd678cf API - Default display type is blank string
Fixes #10986 @claudiosmweb
2016-05-25 12:19:55 +01:00
Claudio Sanches d7e874324a [REST API] Fixed some schema contexts 2016-05-10 13:41:15 -03:00
Daniel Hüsken 35a1cd4736 Add menu order to categories and attributes 2016-04-22 19:55:52 +02:00
Claudio Sanches 92da79ce76 Changed $namespace from public to protected 2016-03-31 15:25:31 -03:00
Claudio Sanches a16b32825f Fixed rest functions names 2016-03-29 19:54:37 -03:00
Claudio Sanches 242b362020 Fixed file names 2016-03-28 09:25:50 -03:00