Commit Graph

13653 Commits

Author SHA1 Message Date
Mike Jolley 705fbef31a [2.4] Default selections fix for methods with multiple rates 2015-10-23 13:49:27 +01:00
Mike Jolley 79010b634f Cast grouped product children to int
Avoids invalid or empty data and fixes #9416
2015-10-23 12:52:52 +01:00
Mike Jolley 22890c4f94 Thanks page classes
Closes #9398
2015-10-23 12:42:17 +01:00
Mike Jolley 8279db6679 If redirection to setup wizard does not occur, do not redirect at all 2015-10-23 12:24:04 +01:00
Mike Jolley 12fe4e7a52 Use delimiter in hashing function 2015-10-23 12:02:29 +01:00
Mike Jolley b81fc128ac Use hash_equals when comparing hashes
PHP 5.6+ but WP has a fallback inside.
2015-10-23 12:00:56 +01:00
Claudio Sanches c1b46113bc [2.4] Make "Not right now" button on Setup Wizard go to the WP dashboard
closes #9392
2015-10-22 18:17:14 -02:00
Claudio Sanches bfe98a283c [2.4] [API] Fixed editing product variations
Fixed general variations edition and make sync again variations when just
edit a variable product and don't send any 'variations' data

closes #9406
2015-10-22 17:19:16 -02:00
Claudio Sanches ddc6baf07d Use curly bracket when don't have any HTML around
Ref: #9411
2015-10-22 14:43:34 -02:00
Claudio Sanches bf61ed004b Merge pull request #9411 from JeroenSormani/shipping-package-name
Filter the shipping name in the totals table
2015-10-22 14:42:06 -02:00
JeroenSormani ebb65c23ff Filter the shipping name in the totals table 2015-10-22 18:22:03 +02:00
Mike Jolley d363e810d8 Default to first found gateway
Closes #9378
2015-10-22 16:39:15 +01:00
Mike Jolley 002bfa45e4 Ensure grouped product exists
Fixes #9382
2015-10-22 16:35:29 +01:00
Mike Jolley b3a3a998bb Add trailing slash in get_page_uris to reduce likelihood of conflicts
Fixes #9386
2015-10-22 16:33:05 +01:00
Mike Jolley 63947376db Merge pull request #9336 from woothemes/issue/9268-get-coupon-id-from-code-caching
Cache coupon id from code lookup in a transient.
2015-10-22 09:19:37 -06:00
Mike Jolley 2a651ce64b Merge pull request #9332 from Biont/master
WC_AJAX::calc_line_taxes - Provide a filter after tax calculations are done
2015-10-22 09:17:57 -06:00
Mike Jolley 08365f4145 Merge pull request #9333 from roykho/onboard
[onboard wizard] Remove required attribute from currency_code form el…
2015-10-22 09:03:48 -06:00
Mike Jolley d46e57d9d6 Merge pull request #9318 from woothemes/issue/8458-refactor-verified-purchase-review-meta
Refactor "verified owner" logic to reduce queries and transients.
2015-10-22 09:00:38 -06:00
Mike Jolley 509d59df3d Merge pull request #9391 from krautnerds/fix-login-with-mail-and-whitespace
Fixed login form handling for whitespaces before/after mail address
2015-10-22 07:23:43 -06:00
Mike Jolley db1ecae936 Merge pull request #9405 from javorszky/issue_9404
Shipping calculation results no longer bleed over
2015-10-22 06:57:45 -06:00
Mike Jolley 97e28d7f49 Added wc_checkout_is_https() function helper and added to simplify class
Closes #9408
2015-10-22 12:30:30 +01:00
Mike Jolley c7ff375552 Merge pull request #9403 from bradp/patch-2
Fix spacing of do_action in customer-processing-order.php
2015-10-22 05:04:53 -06:00
Mike Jolley 4dbfe1551c Settings API - don't save title fields
Closes #9401
2015-10-22 11:27:39 +01:00
Gabor Javorszky 852ab311e0 Shipping calculation results no longer bleed over
Fixes #9404

Before we decide whether to just return from shipping calculation or
actually calculate it, let's null the values.

Reason for this and not `reset` is because reset also wiped the chosen
shipping method, which might have unintended consequences.

Please test this extensively. You know WooCommerce a lot better than I
do, and I'd like to avoid side effects.
2015-10-21 21:35:58 +01:00
Brad Parbs d7d306432b Fix spacing of do_action in customer-processing-order.php 2015-10-21 14:47:08 -05:00
Jeff Stieler d73ef76568 Remove generation of review verification comment meta from 2.5 upgrade routine. 2015-10-20 22:05:17 -06:00
Jeff Stieler 58ec17f76d Use new review verification status retrieval method on single review template and in APIs. 2015-10-20 22:05:17 -06:00
Jeff Stieler 1b370bb64a Helper method to retrieve review verification status from comment meta, generating it on the fly for existing reviews. 2015-10-20 22:05:17 -06:00
Jeff Stieler e9bfa2553c Return verification status in WC_Comments::add_comment_purchase_verification(). 2015-10-20 22:03:30 -06:00
Jeff Stieler a34d58c18f Backfill existing reviews with “verified” comment meta on update to 2.5. 2015-10-20 22:03:29 -06:00
Jeff Stieler 95fe3d47c2 Use review comment meta for verification status in API calls and WP-CLI. 2015-10-20 22:03:29 -06:00
Jeff Stieler cfdef778bf Use review comment meta to determine if the customer bought the product. 2015-10-20 22:03:29 -06:00
Jeff Stieler 71cfde70c9 Mark a comment as “verified” if the customer leaving it has purchased the product they’re reviewing. 2015-10-20 22:03:29 -06:00
Jeff Stieler 80628e9f97 Store all purchased product ids for a given customer in a single transient. 2015-10-20 22:03:29 -06:00
Jeff Stieler 2f9feb4b99 Merge branch 'issue/9268-get-coupon-id-from-code-caching' of github.com:woothemes/woocommerce into issue/9268-get-coupon-id-from-code-caching 2015-10-20 21:43:07 -06:00
Jeff Stieler 883170e261 Cache coupon id from code lookup in a transient. 2015-10-20 21:42:46 -06:00
Claudio Sanches 74fc2e1ddc Merge pull request #9389 from woothemes/fix/install-wp-tests-latest-wp
Update WP-CLI test suite installer, fixing Travis-CI builds.
2015-10-20 23:43:22 -02:00
Florian Ludwig b549c73dea Fixed bug where customer couldn't log in because of whitespace after mail address 2015-10-20 21:20:50 +02:00
Jeff Stieler 513e95838b Use the same default WP test lib directory as the updated test installer script.
The previous version of WP-CLI’s install.sh didn’t take environmental variables into account.
2015-10-20 10:24:46 -06:00
Jeff Stieler 3d232cb736 Use proper tests checkout for WP_VERSION=latest
See https://github.com/wp-cli/wp-cli/issues/2129 for more info.
2015-10-20 09:40:00 -06:00
Claudio Sanches 1ea5b8433f Escape normalized for the woocommerce_variation_option_name filter 2015-10-18 10:42:44 -06:00
Claudio Sanches fe95c2f8a1 Merge pull request #9343 from brenoalvs/master
Fixed order review heading when have no checkout fields
2015-10-17 00:06:11 -06:00
Claudio Sanches 1e2258a559 Merge pull request #9364 from Spreeuw/issue-9363
Fixes #9363
2015-10-15 02:05:31 -06:00
Ewout Fernhout ab85ebfbc4 check if product exists
fixes #9363
2015-10-15 09:43:53 +02:00
Ewout Fernhout 08b32953d9 Merge remote-tracking branch 'woothemes/master' 2015-10-15 09:38:07 +02:00
Mike Jolley da8cae596b Simplify cart shipping template + text
Also prevents calculate shipping showing multiple times when multiple
packages are present.

@jameskoster @claudiosmweb
2015-10-13 15:41:21 -06:00
Claudio Sanches 5372579546 Fixed the hook name for #9290
cc @jeffstieler
2015-10-13 15:13:31 -06:00
Claudio Sanches 9c10a6fc16 Better name for password strength meter element #9319
cc @jameskoster
2015-10-13 14:42:26 -06:00
Claudio Sanches dc6a7503da Removed old deploy files from .gitignore, closes #9353 2015-10-13 14:36:20 -06:00
Breno Alvs eda81121b4 Fixed order review heading when have no checkout fields 2015-10-11 15:37:28 -03:00