Commit Graph

17471 Commits

Author SHA1 Message Date
Mike Jolley fb585e9633 Add transient caching to product_loop
Closes #11708
2016-08-18 13:19:57 +01:00
Mike Jolley 5a740b7837 Merge pull request #11710 from woothemes/rest-api-load-priority
REST API hook load priority
2016-08-18 11:39:14 +01:00
Mike Jolley 747c48c13b Sort by rating with meta
Closes #11711
2016-08-18 11:33:19 +01:00
Mike Jolley eab72bd48e Sync rating after clear_transients so meta exists
#11711
2016-08-18 11:10:16 +01:00
opportus 92513c6ad1 seo tweaks - branch update 2016-08-18 10:39:55 +02:00
Claudio Sanches 838f3737ea [2.6] Fixed downloadable variable product URL, closes #11699 2016-08-18 00:53:27 -03:00
Claudio Sanches 74484c7009 [2.6] [REST API] Fixed undefined order ID, closes #11707 2016-08-18 00:41:46 -03:00
Claudio Sanches 2799bbdb27 Changed "Configure terms" into a link 2016-08-18 00:02:18 -03: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
Claudio Sanches b1ac42220a Merge pull request #11690 from sumnermic/patch-1
Add anchor attribute target "_blank"
2016-08-16 18:40:12 -03:00
Claudio Sanches b6cc54f3a1 Always apply stylelint #11658 2016-08-16 18:26:42 -03:00
Claudio Sanches 7b44b8954e Removed confuse min WP requirement 2016-08-16 17:56:26 -03:00
Claudio Sanches 525b11a2a2 Defined a priority for the REST API init method 2016-08-16 17:44:32 -03:00
Claudio Sanches 49b7dd6dfa Removed custom hooks introduced in #11668 2016-08-16 17:43:09 -03:00
Claudio Sanches 3cf8058f9b DRY #11614 2016-08-16 16:55:26 -03:00
Claudio Sanches 8bd29fa06e Include REST API classes in apigen
cc @mikejolley
2016-08-16 16:06:14 -03:00
Claudio Sanches 67e7b0dde5 Merge pull request #11709 from jluisfreitas/patch-3
add PT (Portugal) address format
2016-08-16 15:34:27 -03:00
JLuis Freitas 5a0f0cf5b4 add PT (Portugal) address format
add $postcode_before_city format to portuguese addresses
2016-08-16 17:10:09 +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
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