Commit Graph

11314 Commits

Author SHA1 Message Date
Bryce deb4acd5a2 Return (first) role of user in customer API endpoint 2015-02-07 13:08:48 +07:00
shivapoudel 3b3cb844b2 No require global wp_roles as executing method via WC_Install::remove_roles 2015-02-06 21:05:14 +05:45
Mike Jolley 0939cf0e01 Fix product cats notice Closes #7298 2015-02-05 11:36:33 +00:00
Mike Jolley 7b144dce1d Merge pull request #7296 from RistoNiinemets/master
JS "hide_variation" hook
2015-02-05 11:27:43 +00:00
Mike Jolley c8ffc4e5a1 Removing hhvm until Claudio fixes our config :) 2015-02-05 11:23:53 +00:00
Mike Jolley f5ff10711d Merge pull request #7297 from shivapoudel/docblocks
Docblocks Fixes
2015-02-05 11:23:06 +00:00
Claudio Sanches 6ca08cc6b1 Updated the .pot files 2015-02-05 06:51:59 -02:00
Claudio Sanches 92e3951de6 Merge pull request #7307 from bryceadams/patch-7306
Add Gisborne to New Zealand States
2015-02-05 06:49:53 -02:00
Claudio Sanches 1a38cecb8c Merge pull request #7305 from bryceadams/patch-7302
Fix notice when invalid order id / email used
2015-02-05 06:49:20 -02:00
Claudio Sanches 0749fe752d Merge pull request #7304 from bryceadams/patch-7301
Fix fatal error on /my-account/view-order/ endpoint
2015-02-05 06:48:37 -02:00
Claudio Sanches 00916b9e29 Merge pull request #7303 from mattallan/matt/wc-api-orders-tweaks
WC_API_Orders: pass data var to new wrappable api function.
2015-02-05 06:46:34 -02:00
Bryce d619ef4065 Add Gisborne to New Zealand States
Ref: http://www.wikiwand.com/en/Regions_of_New_Zealand

Closes #7306
2015-02-05 13:46:15 +07:00
Bryce d36af4b721 Fix notice when invalid order id / email used
We also need to check if the $order object exists. Closes #7302
2015-02-05 13:03:13 +07:00
Bryce 888622a621 Fix fatal error on /my-account/view-order/ endpoint
When no order number is set this causes a fatal error. This check for
the $order object should be sufficient.

Closes #7301
2015-02-05 12:55:33 +07:00
matttallan 6531eb0373 pass data var to wrappable api function. 2015-02-05 15:43:05 +10:00
James Koster 8f4c1e184f removed a couple of duplicates 2015-02-04 16:46:46 +00:00
James Koster a068e680f0 Storefront section in readme. 2015-02-04 16:40:13 +00:00
shivapoudel dcdf00e06f Cleanup WC_Admin_Permalink_Settings 2015-02-04 22:12:06 +05:45
shivapoudel db012b03df Cleanup WC_Unit_Test_Case 2015-02-04 22:07:52 +05:45
shivapoudel b207391041 Unit Test docblock comment for setUp 2015-02-04 22:03:01 +05:45
shivapoudel d6b44d9369 Docblocks cleanup for WC_Post_types 2015-02-04 21:59:14 +05:45
Risto Niinemets d9e63dcbb2 "hide_variation" hook 2015-02-04 18:08:14 +02:00
shivapoudel fa6a99bd1d Docblocks cleanup for WC_Frontend_Scripts 2015-02-04 21:52:33 +05:45
shivapoudel cb57c7e709 Docblocks cleanup for WC_Comments 2015-02-04 21:44:42 +05:45
Mike Jolley 782aa34808 Merge pull request #7291 from bryceadams/patch-7289
Allow people to override roles when querying customers API
2015-02-04 15:20:48 +00:00
Mike Jolley 7795f69f51 Update wording to include refunds
Closes #7290
2015-02-04 15:14:02 +00:00
Mike Jolley 213fb59e32 Fix refund qty calc 2015-02-04 15:12:47 +00:00
Mike Jolley 3154b08d3e Replace CDN select2 with local copy
Closes #7287
2015-02-04 15:00:14 +00:00
Mike Jolley 2a877eb562 Do a db query to flush spent and count which may be incorrect/outdated
Closes #7286
2015-02-04 14:22:15 +00:00
Mike Jolley 3691a8fdfb Fix thumbnail notice
Closes #7292
2015-02-04 14:04:02 +00:00
Mike Jolley 5bb4b7739f Fix IDS param Closes #7288 2015-02-04 12:44:30 +00:00
Bryce 1e9349a585 Remove $wpdb and $blog_id 2015-02-04 19:33:25 +07:00
Bryce d0e0a6be6b Change so only single role can be set in role param 2015-02-04 19:31:14 +07:00
Bryce 0f927acdd3 Allow people to override roles when querying customers API
Just fixing core
and closes #7289
2015-02-04 18:59:25 +07:00
Mike Jolley 6af80f8e60 Merge pull request #7280 from mattallan/matt/wc-api-orders-tweaks
Some more tweaks to WC API Orders
2015-02-04 11:46:33 +00:00
Mike Jolley 7b294c7cbf Prevent meta boxes being saved multiple times 2015-02-04 11:35:02 +00:00
matttallan e5c3385d3b Change private wc-api method to protected.
Mainly so that it can be used in the new Subscriptions API :)
2015-02-04 11:38:38 +10:00
matttallan f3fbbdeecc Use validate_request() to avoid duplicate code. 2015-02-04 11:38:36 +10:00
matttallan cd085f2adc add an overrideable function to a create custom post.
Especially handy for WC Subscriptions seeing as they extend the Abstract
Order Class.
2015-02-04 11:16:11 +10:00
matttallan c2520a528b changes to avoid writing duplicated code 2015-02-04 09:59:02 +10:00
Claudio Sanches a0cd152df2 Merge pull request #7279 from shivapoudel/packages.json
Update npm packages
2015-02-03 16:04:28 -02:00
shivapoudel 2e159d0b22 Update npm packages 2015-02-03 23:37:53 +05:45
Mike Jolley 284d7b73bf Update travis config; remove 5.2, add 5.6 and hhvm 2015-02-03 16:43:05 +00:00
Mike Jolley 57b8d6c700 Version bump + pot 2015-02-03 16:43:05 +00:00
Mike Jolley abec9f104f Merge pull request #7277 from shivapoudel/tests-typo
Tweaks Unit Test roles typo
2015-02-03 16:35:01 +00:00
Mike Jolley b2e979640c Removed unused vars 2015-02-03 16:24:01 +00:00
shivapoudel 23a94dea1d Tweaks roles typo 2015-02-03 22:07:58 +05:45
Mike Jolley ffd512a55e Why assign $the_product to itself? 2015-02-03 16:14:56 +00:00
Mike Jolley 037242a9a2 More docblock tweaks 2015-02-03 16:03:28 +00:00
Mike Jolley 55baf7b60a Missing properties 2015-02-03 15:55:51 +00:00