Claudio Sanches
31f68377f9
Fixed docblock
2017-02-16 22:25:20 -02:00
Claudio Sanches
01a5296e7e
Fixed how CRUD delete items by REST API
2017-02-16 22:25:07 -02:00
Claudio Sanches
197d2eb98e
Use CRUD Controller for order refunds
2017-02-16 21:45:12 -02:00
Claudio Sanches
687433d5cc
Use CRUD Controller for orders
2017-02-16 21:15:34 -02:00
Claudio Sanches
34cf70407e
Use CRUD Controller for coupons
2017-02-16 20:31:36 -02:00
Claudio Sanches
d4ce22cb76
Created WC_REST_CRUD_Controller
2017-02-16 20:27:07 -02:00
Claudio Sanches
7a52ec465b
Fixed docblocks and removed dead variables
2017-02-16 18:05:06 -02:00
Mike Jolley
70d46fe008
Fix index checks
2017-02-16 16:45:50 +00:00
Mike Jolley
b37e4da43c
Move legacy classes to correct dir
2017-02-16 16:39:56 +00:00
Mike Jolley
bc751acb57
Merge pull request #13176 from woocommerce/db-schema-tweaks
...
DB schema tweaks
2017-02-16 16:34:08 +00:00
Mike Jolley
1348f6efd7
Merge branch 'master' into db-schema-tweaks
...
# Conflicts:
# includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:33:20 +00:00
Mike Jolley
36092cba54
Merge branch 'includes'
2017-02-16 16:28:56 +00:00
Mike Jolley
dd3d46ccaf
Merge branch 'master' into includes
...
# Conflicts:
# includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:28:46 +00:00
Mike Jolley
93e21a09c7
Convert alert to regular notice.
...
Fixes #13216
2017-02-16 16:27:37 +00:00
Mike Jolley
2505abeb21
Merge pull request #13202 from woocommerce/fix-13199
...
Duplicate products; fix variation creation and add actions
2017-02-16 16:18:53 +00:00
Mike Jolley
b69988fe39
Correct changes in variation data update and fix context
2017-02-16 16:07:11 +00:00
Mike Jolley
4271352502
Escaping dates and statuses
2017-02-16 15:59:28 +00:00
Claudio Sanches
9c15ca936b
Merge pull request #13206 from woocommerce/rest-api-v2
...
REST API v2
2017-02-16 12:53:46 -02:00
Mike Jolley
9427c2874f
Readme fix
2017-02-16 14:49:03 +00:00
Mike Jolley
ffcb1591c2
Readme
2017-02-16 14:45:40 +00:00
Mike Jolley
fadc0937c3
product category count fix
...
Fixes #13191
2017-02-16 12:57:48 +00:00
Mike Jolley
5309b4ca7d
woocommerce_delete_order_refund
2017-02-16 12:33:47 +00:00
Mike Jolley
244f075958
Fix preg match
...
Fixes #13205
2017-02-16 12:21:05 +00:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00:00
Mike Jolley
2afefcad90
Merge pull request #13203 from woocommerce/deprecated-hooks-tests
...
Deprecated hook handler unit tests
2017-02-16 11:01:45 +00:00
Mike Jolley
a06f83ac50
Fix variation image change
2017-02-16 11:00:09 +00:00
Mike Jolley
d8a00b97a1
Minify
2017-02-16 10:44:43 +00:00
Mike Jolley
47078b4c15
Check product exists before getting permalink
...
Closes #13210
2017-02-16 10:38:14 +00:00
Mike Jolley
bf384d07be
use global in factory if no id is passed
...
Fixes #13211
2017-02-16 10:33:59 +00:00
Mike Jolley
1b2bdf7bfd
Merge pull request #13207 from duracelltomi/master
...
Adding WP filter to is_order_received_page()
2017-02-16 10:12:05 +00:00
Mike Jolley
771dfc4741
Merge pull request #13209 from woocommerce/issues/13208/fix-deprecated-woocommerce_format_decimal
...
Replaced deprecated woocommerce_format_decimal with wc_format_decimal.
2017-02-16 10:07:29 +00:00
Akeda Bagus
9ad529f170
Replaced deprecated woocommerce_format_decimal with wc_format_decimal.
...
Fixes #13208 .
2017-02-16 13:49:56 +07:00
Thomas Geiger
5f6295264d
Adding WP filter to is_order_received_page()
...
Many plugins and themes rely on is_order_received_page() to include special codes when the user places an order. Some plugins however alter the flow: Klarna checkout for example uses a completely custom checkout flow, some other plugins adds the option to the user to specify a WP page as "the" order received page instead of the WooCommerce default. All those plugins break codes where is_order_received_page() is being used.
2017-02-16 07:00:16 +01:00
Claudio Sanches
f08c10d068
Fixed and improved the variations endpoint
2017-02-16 03:07:51 -02:00
Claudio Sanches
e48243aa0b
No private methods in REST API
2017-02-16 02:30:04 -02:00
Claudio Sanches
1d82fbd8bf
Fixed products tests
2017-02-16 01:52:10 -02:00
Claudio Sanches
666d1f3c06
Prevent PHP notices while saving meta_data without an id
2017-02-16 01:44:45 -02:00
Claudio Sanches
75b2661ba3
Fixed undefined $meta[id]
2017-02-16 01:42:47 -02:00
Claudio Sanches
036a2f6c92
Allow save meta data for products in v2
2017-02-16 01:39:30 -02:00
Claudio Sanches
d2818be2ba
Order refunds v1 and v2
2017-02-16 01:27:44 -02:00
Claudio Sanches
a19fa78cef
Fixed orders get_collection_params()
2017-02-16 01:10:41 -02:00
Claudio Sanches
5ebeafac33
Removed duplicated code
2017-02-16 01:09:36 -02:00
Claudio Sanches
eaf492a7f1
Fixed orders v2 schema
2017-02-16 01:08:02 -02:00
Claudio Sanches
503812971d
Fixed deprecated warnings in orders v1
2017-02-16 00:45:20 -02:00
Claudio Sanches
5c0046b325
Do not allow save meta_data in orders v1
2017-02-16 00:33:17 -02:00
Claudio Sanches
cc1992f1c8
Fixed item variation_id
2017-02-16 00:26:42 -02:00
Claudio Sanches
2d0a479750
Updated v1 methods
2017-02-16 00:22:15 -02:00
Claudiu Lodromanean
ba2b767006
Modify tests for PHP 5.2 compat
2017-02-15 13:50:25 -08:00
Claudiu Lodromanean
ca541f5704
Fix PHP 5.2 compat error
2017-02-15 13:18:46 -08:00
Claudiu Lodromanean
829fa246f2
Formatting
2017-02-15 12:13:29 -08:00