Commit Graph

13966 Commits

Author SHA1 Message Date
Shohei Tanaka 89dca3187f Merge remote-tracking branch 'woothemes/master' 2015-10-27 06:27:49 +09:00
Claudio Sanches cf6fb76741 Created function to disable author archives for customers
cc @mikejolley
2015-10-26 15:38:44 -02:00
Claudio Sanches e9fb395471 Introduce two new actions on templates/single-product/review.php
New actions:
- woocommerce_review_before_comment_meta
- woocommerce_review_after_comment_text

Closes #9432
2015-10-26 13:36:02 -02:00
Claudio Sanches 76583aeeda Minify 2015-10-26 13:05:06 -02:00
Mike Jolley 59dc92e113 Merge pull request #9417 from woothemes/9381-help-tip-icon-font
Use new "question" mark icon font for Help Tips
2015-10-26 08:45:10 -06:00
Claudio Sanches 4f9e4a87e8 Updated Simplify Commerce lib to version 1.2.0, closes #9420 2015-10-26 11:27:14 -02:00
Mike Jolley 7012ef5608 When updating cart hash, refresh all open tabs
Closes #8708
2015-10-26 11:50:25 +00:00
Claudio Sanches 154dac6d14 [2.4] [API] Fixed attributes save when using non-latin letters
Changed sanitize_title() to wc_sanitize_term_text_based() since
wp_set_object_terms() is creating wrong terms

Closes #9421
2015-10-23 14:38:37 -02:00
Claudio Sanches e91e0a9f5e Changed <i> to <span> in wc_help_tip()
<span> is more semantically correct
2015-10-23 13:17:35 -02:00
Claudio Sanches b85ae9056c Rename wc_add_help_tip() function to wc_help_tip() 2015-10-23 13:09:08 -02:00
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 2e95a68357 Use new "question" mark icon font
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]

We'll keep the old image and styles in order to maintain backwards
compatibility

Closes #9381
2015-10-23 01:40:52 -02: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