Commit Graph

17245 Commits

Author SHA1 Message Date
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
opportus c04cfa9d15 seo tweaks - adds to loop product and loop category headings a specific css class 2016-08-16 12:34:38 +02:00
opportus 26367d1108 seo tweaks - branch update 2016-08-16 12:19:29 +02:00
Multidots dd445d8f09 Fixes:'File' link on My Accounts->Downloads incorrect for variations 2016-08-16 15:47:35 +05:30
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
Multidots 63c3a979f4 Fixes Add reply-to to admin emails 2016-08-15 16:31:12 +05:30
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
sumnermic e336886afa Add anchor attribute target "_blank"
Add anchor attribute target "_blank" to Regenerate Thumbnails link. It's pretty annoying for it to not open in a new window/tab.
2016-08-12 13:58:54 +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
Mike Jolley f0bae3e5d7 Dupe comment 2016-08-12 10:39:21 +01:00
Mike Jolley 3b0af0c54b Merge pull request #11670 from woothemes/fix-reports-custom-daterange
Reports: Clean up custom date range UI
2016-08-12 10:36:48 +01:00
Mike Jolley 04869ab784 Merge pull request #11685 from Ninos/json_encode
Use wp_json_encode() instead of json_encode()
2016-08-12 10:36:12 +01:00
Mike Jolley 7ba4140ec8 Merge pull request #11687 from woothemes/fix-readme-requirements
Updates the server requirements in the readme.txt file
2016-08-12 09:55:57 +01:00
Matty bbd003aa97 Updates the server requirements in the readme.txt file, and links to the server requirements document on the WooCommerce documentation website. 2016-08-12 10:34:14 +02:00