Mike Jolley
0f2f1699dc
Spacing
2017-03-15 16:08:10 +00:00
Mike Jolley
d55653a408
Merge branch 'master' into fix-13498
...
# Conflicts:
# includes/class-wc-order.php
# tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Mike Jolley
943c507d3f
Merge pull request #13606 from woocommerce/fix-13525-api
...
Fix 13525 api
2017-03-15 15:43:45 +00:00
Claudiu Lodromanean
f151576410
Add missing docblock
2017-03-15 08:32:17 -07:00
Claudiu Lodromanean
0bbce21fd2
Line up whitespace
2017-03-15 08:13:06 -07:00
Claudiu Lodromanean
bbfea35cf0
API tweaks from feedback
2017-03-15 08:10:42 -07:00
Claudiu Lodromanean
4483c292ba
Missed a break
2017-03-14 16:04:34 -07:00
Claudiu Lodromanean
6351bb0c22
Update coupon API
2017-03-14 16:00:15 -07:00
Claudiu Lodromanean
51b7110de2
Update API v2
2017-03-14 14:43:53 -07:00
Claudiu Lodromanean
f4d012cf00
Wrong branch
...
This reverts commit 983896cb8b
.
2017-03-14 13:27:40 -07:00
Claudiu Lodromanean
983896cb8b
Update v2 coupon api
2017-03-14 13:25:45 -07:00
Mike Jolley
071d389c73
Merge pull request #13595 from woocommerce/13527-wp-api
...
Included access_expires_gmt to customer downloads endpoint v2
2017-03-14 19:21:08 +00:00
Claudio Sanches
1b1fc109f7
Included access_expires_gmt to customer downloads endpoint v2
2017-03-14 16:04:22 -03:00
Claudio Sanches
137de9eea6
Fixed access_expires in legacy REST API
2017-03-14 15:40:36 -03:00
Mike Jolley
9bee678819
API updates
2017-03-13 21:36:31 +00:00
Mike Jolley
dd1b8e35dc
API endpoints
2017-03-13 20:26:52 +00:00
Mike Jolley
d2bd1a422c
Merge pull request #13555 from woocommerce/fix-13526-rest-api
...
Update date usage in REST API v1 and v2
2017-03-13 16:04:38 +00:00
Mike Jolley
0098595339
Merge pull request #13554 from woocommerce/fix-13526-legacy-api
...
Fix dates in customer legacy endpoints
2017-03-13 15:59:02 +00:00
Claudio Sanches
3fbb8415d6
Change to single quotes
2017-03-10 19:14:28 -03:00
Claudio Sanches
8cefbd7c08
Added and fixed date properties for customers v2 endpoint
2017-03-10 19:10:41 -03:00
Claudio Sanches
7fb4340747
Updated dates for customers in REST API v1
2017-03-10 19:00:36 -03:00
Claudio Sanches
c6fa88bde8
Both $server-format_datetime() variables are false by default
2017-03-10 18:15:05 -03:00
Claudio Sanches
c353241599
Fixed dates in customer legacy endpoints
2017-03-10 18:10:03 -03:00
Claudio Sanches
b36fea1ce5
[REST API] Use the same order as schema for refunds response
2017-03-10 17:26:36 -03:00
Claudio Sanches
65ed14635e
Change bback $item to $data
2017-03-10 17:22:38 -03:00
Claudio Sanches
4ea40d997b
[REST API] Improved order of items in Orders endpoint schema
2017-03-10 17:20:27 -03:00
Mike Jolley
aac2e6a39c
Refund schema
2017-03-10 19:30:07 +00:00
Mike Jolley
e6752932dd
Sort
2017-03-10 19:05:32 +00:00
Mike Jolley
61484ed711
Update API endpoints
2017-03-10 18:54:59 +00:00
Mike Jolley
69cc8f5150
API dates
2017-03-10 16:28:50 +00:00
Konstantinos Kouratoras
f77b03ef94
Add missing trailing punctuation
...
Trailing punctuation is missing, causing duplication of the same text in translation, although it exists in another file:
https://github.com/woocommerce/woocommerce/blob/master/includes/api/class-wc-rest-settings-options-controller.php#L482
2017-03-10 17:01:47 +02:00
Illimar Tambek
21a54b93d8
Use wc_clean to sanitize fee title in legacy apis
...
This will bring legacy APIs in line with the new REST API, where the
order item names are sanitized using wc_clean and fix the
backwards-incompatible change of using sanitize_title.
2017-03-09 11:00:35 +02:00
Illimar Tambek
8e81a7e4e0
Set order id for fees & shipping on legacy api
...
If order ID is not set, the item will be created, but will not be
associated with the order being updated.
2017-03-09 10:53:10 +02:00
Claudiu Lodromanean
dd97b7bc50
Allow product ids in get_product_data
2017-03-07 09:40:28 -08:00
Claudio Sanches
1e576133b1
Merge pull request #13493 from woocommerce/fix-13489
...
Multiple arguments passed to isset must all be isset to be true. We need 'or'.
2017-03-07 13:01:03 -03:00
Mike Jolley
3eea782750
Brackets
2017-03-07 12:45:35 +00:00
Mike Jolley
3073867449
Multiple arguments passed to isset must all be isset to be true. We need 'or'.
...
Fixes #13489
2017-03-07 12:44:30 +00:00
Mike Jolley
ce6c4a736f
Merge pull request #13488 from woocommerce/downloads-consistency
...
Downloads data consistency
2017-03-07 12:13:03 +00:00
Claudio Sanches
df1a87a749
[REST API] Removed extra product_name in v1 and added schema for product_name in v2
2017-03-06 19:48:26 -03:00
Claudio Sanches
50d62a5c4c
REST API v1 should return 0 when limit_usage_to_x_items is empty
2017-03-06 18:14:32 -03:00
Claudio Sanches
8a77bb0957
Fixed undefined $id #13405
2017-03-04 12:15:52 -03:00
Claudiu Lodromanean
e4db7f1d76
Update variable names to correct ones
2017-03-03 14:40:31 -08:00
Claudio Sanches
8d28e966c4
Let product CRUD handle terms IDs
2017-03-03 16:21:27 -03:00
Claudiu Lodromanean
51c5910866
Set line item prices on legacy API order create
2017-03-03 09:26:08 -08:00
Claudio Sanches
f7d8ddffab
Merge pull request #13452 from woocommerce/fix-13405
...
Legacy API tweaks
2017-03-02 22:42:46 -03:00
Claudiu Lodromanean
bd4458fa90
Change create to save
2017-03-02 14:28:35 -08:00
Claudio Sanches
3aa86075d1
Prevent errors when do not have a paid date
2017-03-02 16:29:04 -03:00
Claudio Sanches
9fb2ba7783
[REST API] date_paid should be in date time format, closes #13255
2017-03-02 15:25:32 -03:00
Claudio Sanches
e42e2a3335
Replace woocommerce_coupon_code filter by wc_format_coupon_code()
2017-02-22 14:40:24 -03:00
Akeda Bagus
43a63985c6
Install pages action should return array instead of string.
...
Fixes #13256 .
2017-02-21 12:01:27 +07:00