Commit Graph

11002 Commits

Author SHA1 Message Date
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
Mike Jolley 35f006d282 This can return a bool 2015-02-03 15:55:40 +00:00
Mike Jolley e2eb89ef76 Use UTC date #7276 2015-02-03 15:52:52 +00:00
Mike Jolley 9bc1b09fc5 Undefined and dead variables in checkout class 2015-02-03 15:27:40 +00:00
Mike Jolley 0300ce2768 Undefined and dead variables in cart class 2015-02-03 15:23:25 +00:00
Mike Jolley 133e85560f Dead var 2015-02-03 15:08:54 +00:00
Mike Jolley 27a7a58e8c Can return wp_error 2015-02-03 15:08:36 +00:00
Mike Jolley c01fe87d69 Cast to array 2015-02-03 15:06:15 +00:00
Mike Jolley 74abdf27c9 Cast to array 2015-02-03 15:06:08 +00:00
Mike Jolley 03cf7fa572 Fix potential notice 2015-02-03 14:57:04 +00:00
Mike Jolley 2809986fcf Dead var 2015-02-03 14:56:01 +00:00
Mike Jolley c814a9fa23 docblock corrections 2015-02-03 14:44:57 +00:00
Mike Jolley 1ef8a24ec9 These should be default_attr, not attribute 2015-02-03 14:44:57 +00:00