Commit Graph

17046 Commits

Author SHA1 Message Date
Mike Jolley f1e517130a Feedback from @claudiosmweb 2016-08-18 13:30:10 +01:00
Mike Jolley 7852eecb06 Fix get param usage 2016-08-17 17:25:29 +01:00
Mike Jolley 594bceedf2 Comment out exception code - see #11715 2016-08-17 17:07:30 +01:00
Mike Jolley 709dec9ef1 Create and update handling 2016-08-17 16:53:01 +01:00
Mike Jolley 3755049d86 Fix item data 2016-08-17 11:45:07 +01:00
Mike Jolley 0b9a5998cc Exception class 2016-08-17 11:44:56 +01:00
Mike Jolley b4599d9254 Schema update 2016-08-17 11:44:39 +01:00
Mike Jolley 92ebb933b4 Finish order get 2016-08-16 15:18:16 +01:00
Mike Jolley 3e88ec1f20 Product formatting 2016-08-16 14:49:30 +01:00
Mike Jolley b64c55de49 Format item meta 2016-08-16 13:55:10 +01:00
Mike Jolley 99be0167b4 Order type doesn't appear to be used anywhere, and I'd expect other plugins extending orders to have their own classes anyway making this a bit pointless.
@thenbrent
2016-08-16 13:02:22 +01:00
Mike Jolley b70a979fce Get product item data 2016-08-16 13:01:38 +01:00
Mike Jolley 1baef12395 qty -> quantity 2016-08-16 12:36:38 +01:00
Mike Jolley 71ce5f77d0 Replace order_item_id with just id 2016-08-16 12:27:00 +01:00
Mike Jolley 0621db57d3 Merge branch 'master' into order-crud-api 2016-08-16 12:20:34 +01:00
Mike Jolley e99798f16e Date modified is read only and set by WP after update 2016-08-16 11:57:25 +01:00
Mike Jolley bc75c60227 Merge branch 'master' into order-crud-api 2016-08-16 11:09:14 +01:00
Mike Jolley 46b6ca0f3b Only read users from current site 2016-08-16 11:08:54 +01:00
Mike Jolley 62b3939aa7 Add test to ensure user was deleted 2016-08-16 10:56:52 +01:00
Mike Jolley c55170698e More namespaces removed 2016-08-16 10:50:24 +01:00
Mike Jolley fe9962bbb6 PHP 5.2 does not support namespace
cc @justinshreve
2016-08-16 10:14:36 +01:00
Mike Jolley de7e522835 Remove customer order queries for performance reasons and offer get_last_order() method instead.
Same for order counts - these don’t need to be populated after read,
only when needed. cc @justinshreve
2016-08-16 10:04:52 +01:00
Mike Jolley c6f6713e47 Write context in coupon api
@justinshreve
2016-08-15 19:28:07 +01:00
Mike Jolley 589ce2f544 Write context 2016-08-15 18:26:00 +01:00
Mike Jolley 5afac69f10 Fix write context errors 2016-08-15 17:50:02 +01:00
Mike Jolley 77edd79eef Tested up to 4.6 2016-08-15 17:44:37 +01:00
Mike Jolley c7ae2c31ea leave wp meta alone and handle serialisation 2016-08-15 17:37:18 +01:00
Mike Jolley 3f08d116d8 Start using crud for order requests 2016-08-15 17:27:33 +01:00
Mike Jolley 9138d8a9e1 order api notices 2016-08-15 16:56:55 +01:00
Mike Jolley 83dca89d0c Correct customer escaping and tests 2016-08-15 16:53:48 +01:00
Mike Jolley 14b40ea340 Handle first and last name fields
@justinshreve
2016-08-15 14:13:20 +01:00
Mike Jolley e1318d9175 Stop WP core meta data being removed for customers
@justinshreve
2016-08-15 13:17:43 +01:00
Mike Jolley 23e13fbfa6 created_via 2016-08-15 11:29:29 +01:00
Mike Jolley fc386f054b Delete order after running test 2016-08-15 11:15:03 +01:00
Mike Jolley 0113dbd7c5 Use wc_do_deprecated_action 2016-08-15 11:08:36 +01:00
Mike Jolley f03d439259 Unit test fixes 2016-08-15 11:02:55 +01:00
Mike Jolley 46793622df wc_do_deprecated_action helper 2016-08-15 11:02:49 +01:00
Mike Jolley 6090e3cd00 set_backorder_meta helper 2016-08-15 11:02:38 +01:00
Mike Jolley 0dd41179aa Prefix item ids and revert some changes to add_products method for ease of use. 2016-08-15 11:02:25 +01:00
Mike Jolley 7796fe9cf1 Clean item/group cache when remove_order_items is used. 2016-08-12 16:48:48 +01:00
Mike Jolley eec9ce5b41 Revert addition of _delete_extra_meta_data
This essentially removes the ability to delete meta which is not great.

@justinshreve you added this in
https://github.com/woothemes/woocommerce/commit/e3b1f6dbc9558bae606fa76e
6941175582a301b7 - can you tell me what problems it was causing you so
we can add a different fix if needed?
2016-08-12 16:41:06 +01:00
Mike Jolley a6f850a4a4 Invalid CSS is invalid.
Not used afaik. Closes #11657
2016-08-12 15:59:01 +01:00
Mike Jolley eb45acf0d5 [2.6] Use method title in admin shipping dropdown
fixes #11678
2016-08-12 14:23:59 +01:00
Mike Jolley f3651a9881 Fix user agent calls 2016-08-12 12:53:09 +01:00
Mike Jolley f7958f2b20 [2.6] Drafts don't have post_date_gmt
Fixes #11686

@claudiosmweb @justinshreve
2016-08-12 12:53:09 +01:00
Mike Jolley 5d5222d3e1 Merge pull request #11658 from belcherj/add/stylelint
Cleaned up SCSS files so they lint and made some rules warnings
2016-08-12 12:50:13 +01:00
Mike Jolley cfc31dd311 wc_prevent_adjacent_posts_rel_link_wp_head
Closes #11683
2016-08-12 11:03:28 +01:00
Mike Jolley 97618fa2af Made stock notes consistent
Fixes #11673
2016-08-12 10:47:01 +01:00
Mike Jolley bb50ca8a6c Merge remote-tracking branch 'origin/master' 2016-08-12 10:39:47 +01:00
Mike Jolley 584b1ce4cb Merge branch 'pr/11674' 2016-08-12 10:39:45 +01:00