Claudio Sanches
e9f2e75d53
Fixed coding standards and file header
2017-02-11 12:51:13 -02:00
Claudio Sanches
4352484ed7
REST API v2
2017-02-09 15:06:13 -02:00
Mike Jolley
e930ccd16e
object types to fix unit tests
2017-01-26 20:58:55 +00:00
Mike Jolley
82d7fe6e73
Added more missing args and types
2017-01-26 20:33:39 +00:00
Mike Jolley
b727c61da7
Missing arg and setting types
2017-01-26 20:06:18 +00:00
Mike Jolley
2d23705431
ID arg definitions
2017-01-26 19:22:57 +00:00
Aristeides Stathopoulos
230c0398b3
fix failing test from master
2016-09-09 19:39:09 +03:00
Justin Shreve
a36b25a68f
Add setting validation to the REST API
2016-09-08 15:20:15 -07:00
Justin Shreve
b665f5e1c6
Setting IDs do not need to be unique across the entire system.. just the group.
2016-09-08 15:20:15 -07:00
Justin Shreve
49676d1781
Hook up email settings to the API
...
Add support for option_key when registering settings, so we can also manage settings that are stored in the array of a single option.
2016-09-08 15:20:15 -07:00
Justin Shreve
fd952e8efa
Payment Gateways API
2016-09-05 14:49:29 -07:00
Mike Jolley
402d0ff077
Merge branch 'master' into pr/11797
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:43:31 +01:00
Justin Shreve
de4296dd15
Add some missing API pieces:
...
* Value was missing from the settings schema (but was still present in the response).
* Added delete endpoint for shipping zones.
* Corrected permissions check/error for shipping zone methods.
2016-08-29 10:22:29 -07:00
Aristeides Stathopoulos
17961f6484
WordPress.Arrays.ArrayDeclaration.ValueNoNewline
2016-08-27 06:04:10 +03:00
Justin Shreve
fe7e26d68d
Error fixes:
...
* Typos
* Consistent edit error handles
* Consistent error messages
2016-08-08 14:52:46 -07:00
Justin Shreve
1d4615aee3
Fix setting class case. REST should be uppercase.
2016-07-26 14:33:55 -07:00
Justin Shreve
226fdb870b
Misc cleanup of descriptions and some error strings.
2016-07-26 10:24:15 -07:00
Jeff Stieler
af1e3d0417
Remove WC_REST_Settings_Options_Controller dependency on WC_REST_Settings_API_Controller.
2016-07-26 10:24:15 -07:00
Jeff Stieler
f168f356bc
Rename WC_Rest_Settings_Controller to WC_Rest_Settings_Options_Controller.
2016-07-26 10:24:15 -07:00