Claudio Sanches
3f12fd1b01
Fixed missing hooks in legacy REST API
2017-08-10 18:57:31 -03:00
Jaydeep Rami
46d3638089
Fix missing return statement ( #16148 )
...
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
2017-07-20 18:01:14 +01:00
Jaydeep Rami
3522857d23
Fix typo in WooCommerce plugin ( #16135 )
...
* Fixed typo
* Fixed more typo
* Fixed more typo
* Fix tyop
* Fix more typo
* Fix more typo
* Fix typo
* Fix typo
* Fix typo
* Fix typo datatime object
* Fix short name of compat
* Fix typo: update short name
* Fix typo "deactive" to "deactivate" and short BW - Compat
* Fix typo "Backwards compat"
* Fix typo 'parameters'
* Fix more typo 'pararmeters'
* Fix typo 'compund'
* FIx typo order
* Fix typo
* Fix typo 'incorrecly'
* Fix typo 'genarate'
* Fix typo 'reletive'
* Fix typo 'Handly'
* Fix typo 'rotatated'
* Fix typo
* Fix typo 'additonal'
* Fix typos
2017-07-17 11:10:52 +01:00
Claudio Sanches
eb4caec13e
Applies wc_delete_order_note() and properly delete notes by AJAX
2017-07-13 19:38:37 -03:00
Claudio Sanches
4262e83187
[REST API] Check if is a valid instance of WC_Product before load data
...
Closes #16072
2017-07-11 12:27:56 -03:00
Claudio Sanches
78a6585f19
[REST API] Allow unset product shipping_class
...
Closes #15960
2017-07-04 14:01:17 -03:00
claudiulodro
4515e5fca9
Fix undefined/incorrectly used variables
2017-06-09 14:10:55 -07:00
Mike Jolley
1e8e40565d
Avoid deprecated ID in API. Fixes #15437
2017-06-05 10:45:10 +01:00
Mike Jolley
d3666738d8
Merge branch 'pr/15069'
2017-05-23 18:56:58 +01:00
Mike Jolley
d1b49888f2
Missing variable in legacy API
...
Fixes #15203
2017-05-22 13:25:33 +01:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Claudio Sanches
7ba011a3b8
Properly save order items in legacy REST API
...
Closes #14917
2017-05-08 12:37:33 -03:00
Mike Jolley
aacb01d1e7
Merge branch 'pr/13503'
...
# Conflicts:
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-layout.css
# assets/css/woocommerce-layout.scss
# assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Claudio Sanches
f318ce935c
[REST API] Fixed ignored parameters when changing status
...
Prevent override saved data when updating order status.
Fixes #14359
2017-04-18 21:15:24 -03:00
Mike Jolley
d81493cc52
Merge pull request #14229 from woocommerce/fix/14184
...
[REST API] Fixed line_items meta type to array on legacy REST API
2017-04-11 10:32:17 +01:00
Claudio Sanches
4a5a93f629
Merge pull request #14107 from woocommerce/fix/rest-api-legacy-v3-variations
...
[REST API] Fixed missing $variations variable in legacy v3
2017-04-10 20:19:43 -03:00
Claudio Sanches
5c92f9141b
[REST API] Fixed line_items meta type to array on legacy REST API
...
Closes #14184
2017-04-10 19:57:35 -03:00
Mike Jolley
84c96046f0
Check objects are not false/null
2017-04-07 16:01:51 +01:00
Claudio Sanches
8de0bb0a46
[REST API] Fixed missing $variations variable in legacy v3
2017-04-07 10:31:28 -03:00
Claudio Sanches
87199d0627
[REST API] Fixed attributes while trying to save variations
...
Closes #13936
2017-04-05 17:03:05 -03:00
Mike Jolley
14802a0307
Remove double unserialization
2017-03-31 12:10:20 +01:00
Claudio Sanches
b8faa2197c
[REST API] Fixed default_attributes in legacy REST API
2017-03-23 17:23:12 -03:00
Mike Jolley
196ba7b770
Ensure we have a product before checking if it exists
...
Fixes #13642
2017-03-17 16:26:26 +00:00
Mike Jolley
8d0a4a3caf
Use correct getter in legacy API for get_discount
...
Fixes #13635
2017-03-17 14:37:19 +00:00
Claudio Sanches
1aa8218b26
Fixed oauth signature replacing spaces by plus sign
...
oAuth signatures are encoded by base64, that can generate plus signs.
See RFC 4648 <http://www.rfc-editor.org/rfc/rfc4648.txt >
By default plus signs in query params are replaced into spaces while
trying to access by super globals like $_GET and $_POST
Closes #13615
2017-03-16 14:23:45 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03: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
bbfea35cf0
API tweaks from feedback
2017-03-15 08:10:42 -07:00
Claudiu Lodromanean
6351bb0c22
Update coupon API
2017-03-14 16:00:15 -07:00
Claudio Sanches
137de9eea6
Fixed access_expires in legacy REST API
2017-03-14 15:40:36 -03:00
Mike Jolley
dd1b8e35dc
API endpoints
2017-03-13 20:26:52 +00:00
Claudio Sanches
c353241599
Fixed dates in customer legacy endpoints
2017-03-10 18:10:03 -03:00
Mike Jolley
69cc8f5150
API dates
2017-03-10 16:28:50 +00: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
Aristeides Stathopoulos
10ffc92a73
Inline control structures are not allowed
2017-03-07 22:24:24 +02:00
Claudiu Lodromanean
dd97b7bc50
Allow product ids in get_product_data
2017-03-07 09:40:28 -08: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
Claudiu Lodromanean
bd4458fa90
Change create to save
2017-03-02 14:28:35 -08:00
Claudio Sanches
e42e2a3335
Replace woocommerce_coupon_code filter by wc_format_coupon_code()
2017-02-22 14:40:24 -03:00
Claudio Sanches
75b2661ba3
Fixed undefined $meta[id]
2017-02-16 01:42:47 -02:00
Mike Jolley
52291e003c
wrong method name
2017-02-08 16:20:05 +00:00
Claudio Sanches
bd655af072
Restore attributes ordering, closes #12847
2017-01-16 21:11:56 -02:00
Mike Jolley
169c70f447
Fix get_stock_amount
2016-11-25 14:48:20 +00:00
Mike Jolley
badd63bdd9
Merge pull request #12448 from woocommerce/webhook-api-versions
...
Allow send webhook payload using legacy API v3 or WP REST API integration
2016-11-24 10:22:01 +00:00
Mike Jolley
d7dfdd3d10
Wrap all deprecation calls.
2016-11-23 16:15:00 +00:00
Claudio Sanches
7aafd6cce7
Set webhook API version in REST API
2016-11-22 22:01:16 -02:00