Barry Kooij
4650c2300a
Simply deny all access to revisions
2015-04-10 11:03:45 +02:00
Barry Kooij
64c79ffe1e
Check for edit_post cap if the post type is revision
2015-04-10 10:32:20 +02:00
Claudio Sanches
050286add6
Updated the changelog for 1452bde
2015-02-11 10:13:36 -02:00
Guillermo Gette
a95591502e
#7359 filter api results by a list of ids
2015-02-11 22:51:56 +11:00
Claudio Sanches
ece4f00a71
[API] Prevent "PHP Notice: Trying to get property of non-object" errors
2015-01-22 17:22:21 -02:00
Claudio Sanches
3cddfb44e9
Improved the woocommerce_api_query_args filter #7081
2015-01-12 16:46:30 -02:00
Claudio Sanches
4be3c9831e
Added the woocommerce_api_query_args filter, closes #7081
2015-01-12 13:59:27 -02:00
shivapoudel
e6f6bcf368
Absolute path fix for REST API v2
2014-09-21 01:09:20 +05:45
Max Rice
722f888453
REST API: Add field restriction to new endpoints
2014-08-30 15:05:36 -04:00
Max Rice
9536d98ade
Add webhooks REST API endpoint
...
Part of #5564
2014-07-30 16:22:58 -04:00
Max Rice
47ccd78b21
Allow using meta_value_num with resource orderby
...
Part of #5720
2014-07-28 19:49:56 -04:00
Max Rice
bb651761d0
Add orderby filtering to REST API resource endpoints
...
Adds orderby filtering to all endpoints using default WP orderby
parameters.
Closes #5720
2014-07-28 19:40:28 -04:00
Max Rice
7f3b67272a
Adhere to WP code standards
2014-07-28 19:34:41 -04:00
claudiosmweb
a69e947c4d
added post_status filter in WC API, closes #4857
2014-05-28 13:29:37 -03:00
sparkweb
d40f773e77
REST API: allow ordering change
2014-03-13 11:08:36 -06:00
Max Rice
5bb8c9daef
Fix permissions typo
...
Part of #4055
2013-11-23 14:32:22 -05:00
Max Rice
d7c77d1ab7
API: Add XML generation
...
This commit completes the XML response handler and adjusts the output
format for all resources to include a top-level property that encloses
the response. This is more consistent with the multi-resource (e.g. GET
/orders) response.
Part of #4165
2013-11-22 03:41:32 -05:00
Max Rice
48e8363db0
Add meta to resource responses
...
Part of #4055
2013-11-18 22:58:10 -05:00
Max Rice
3130369325
Update filter_response_fields() to support sub-field inclusion
...
Part of #4055
2013-11-18 21:59:13 -05:00
Max Rice
490dc758a9
Update pagination args/headers
...
Part of #4055
2013-11-18 21:06:45 -05:00
Max Rice
87ff36db12
Properly handle datetimes
...
Part of #4055
2013-11-18 16:47:38 -05:00
Max Rice
674ea42012
Implement GET endpoint for products and reviews
...
Part of #4055
2013-11-14 12:40:35 -05:00
Max Rice
a13a95e452
Update API resource classes
...
Change method naming to snake_case and implement initial
`current_user_can()` permission checks
2013-11-10 19:29:36 -05:00
Max Rice
23e6b22cfd
Rename API base resource class
2013-11-09 16:20:23 -05:00