Mike Jolley
c29517e87e
Merge branch 'pr/9471'
2015-11-02 11:24:01 +00:00
Mike Jolley
aec0e0e327
supports() method which mirrors gateways
...
Closes #9471
2015-11-02 11:23:50 +00:00
Mike Jolley
3ca5022649
Added template files for the customer details list in emails. emails/email-customer-details.php
...
Closes #9253
2015-11-02 10:41:05 +00:00
Mike Jolley
dfc1e0a625
Merge remote-tracking branch 'origin/master'
...
Conflicts:
includes/admin/views/html-admin-page-status-report.php
2015-11-02 10:02:35 +00:00
Mike Jolley
781adc121c
Check parent theme version
...
Closes #9477
2015-11-02 10:01:42 +00:00
Mike Jolley
f4c24ee824
Make from name methods match
2015-11-02 09:11:25 +00:00
Claudio Sanches
494dd9dae2
Merge pull request #9482 from ahmadawais/patch-5
...
Better Documentation: Period Endings
2015-11-01 19:24:14 -02:00
Kathy Darling
f893d73af6
pass email object to email templates and template hooks
2015-10-31 23:04:59 -05:00
Ahmad Awais
d690e43345
Better Documentation: Period Endings
...
As per the [PHP documentation standards in the core handbook](https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/ ), this commit helps make the documentation better by adding:
- Period endings
2015-11-01 00:12:12 +05:00
Ahmad Awais
9954602229
Better Documentation: Period Endings
...
As per the [PHP documentation standards in the core handbook](https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/ ), this commit helps make the documentation better by adding:
- Period endings
- Short descriptions
- Long descriptions
2015-11-01 00:10:45 +05:00
Claudio Sanches
ecb3ca2ea3
Merge pull request #9480 from ahmadawais/patch-3
...
Better Documentation: Period Endings
2015-10-31 17:05:38 -02:00
Claudio Sanches
317aeb39f1
Merge pull request #9478 from WPprodigy/system-status-fix2
...
Typo in system status report
2015-10-31 17:03:48 -02:00
Ahmad Awais
b07854ed77
Better Documentation: Period Endings
2015-11-01 00:01:46 +05:00
Caleb Burks
46b43f4c7c
Typo in system status report
2015-10-31 12:00:51 -04:00
Caleb Burks
10bb2c6ca1
Check for child themes in the .org repo
2015-10-31 11:23:07 -04:00
Kathy Darling
856d192bff
Use generic `ajax_add_to_cart` class for adding items in the loop to the cart via ajax.
2015-10-30 12:54:49 -05:00
Mike Jolley
37ed73f5b4
Merge pull request #9469 from javorszky/fix-dockblock-ipnhandler
...
Fix docblock for validate_receiver_email
2015-10-30 15:26:03 +00:00
Gabor Javorszky
2fce596b25
Fix docblock for validate_receiver_email
2015-10-30 15:11:41 +00:00
Claudio Sanches
a8ddd8acf9
Disabled Jetpack for products
...
Implemented the new Jetpack jetpack_comment_form_enabled_for_* filter
Closes #9152
2015-10-30 13:08:44 -02:00
Mike Jolley
f5933bf9d9
Fix active state check
...
Closes #9467
2015-10-30 13:31:52 +00:00
Mike Jolley
ad38f6e34f
Add pay link to order screen
...
Closes #9428
2015-10-30 13:29:16 +00:00
Mike Jolley
92310feb98
Merge pull request #9457 from woothemes/9251-wc-cart-functions
...
Moving some methods from WC_Cart to new functions
2015-10-30 13:12:55 +00:00
Claudio Sanches
0ff88deb98
Improved wc_coupons_enabled() name and description
2015-10-29 17:23:10 -02:00
Mike Jolley
afca32a31b
Check item_meta_array exists
...
Fixes #9449
2015-10-29 16:06:23 +00:00
Mike Jolley
5b6e16682c
Handle partial/full refund for orders containing free items
...
Also adds helper method to determine if such as free item exists or
not. Closes #9460
2015-10-29 15:34:33 +00:00
Mike Jolley
871c8591f0
Number format the discount
...
Closes #9462
2015-10-29 15:23:34 +00:00
Claudio Sanches
4522b68a47
[2.4] [API] Avoid undefined $taxonomy warnings while save variable attributes, closes #9456
2015-10-28 16:31:05 -02:00
Claudio Sanches
f3b6870837
Sort get_woocommerce_currencies() items
2015-10-28 16:24:06 -02:00
Claudio Sanches
f64ea948f1
Replaced WC()->cart->ship_to_billing_address_only() to wc_ship_to_billing_address_only()
2015-10-28 16:03:24 -02:00
Claudio Sanches
29229ada45
Added deprecated description to WC_Cart methods
2015-10-28 16:01:03 -02:00
Claudio Sanches
3ab4e76cd0
Replaed old WC_Cart methods to the new functions
2015-10-28 15:56:31 -02:00
Claudio Sanches
1caaea7b33
Moved methods from WC_Cart to single functions
...
Changes:
- WC_Cart::coupons_enabled() to wc_is_coupons_enabled()
- WC_Cart::get_cart_url() to wc_get_cart_url()
- WC_Cart::get_checkout_url() to wc_get_checkout_url()
This methods can be used in any place, but WC_Cart() is present only on
the frontend.
2015-10-28 15:43:31 -02:00
Mike Jolley
327134e471
Merge pull request #9454 from apkoponen/master
...
WC_Product __get should check for False instead of empty
2015-10-28 09:48:12 -06:00
Mike Jolley
1ff6a27951
Split button from variation display
2015-10-28 13:09:34 +00:00
Mike Jolley
f050c804e1
Use wp.template for variation and variation button
2015-10-28 13:04:28 +00:00
Mohsin Rasool
6683baffaa
Add Currency Symbol for Pakistan, Issue #9453
2015-10-28 16:13:42 +05:00
Ari-Pekka Koponen
11ab216993
WC_Product __get should check for False instead of empty
2015-10-28 12:45:54 +02:00
Claudio Sanches
d6dbb4aec2
Added "Hide empty categories" option on Product Category Widget
...
Closes #9441
2015-10-27 14:10:32 -02:00
Claudio Sanches
454ffa4677
[2.4] Fixed bulk edit sale_price when empty
...
This avoid sale_price saved as "0" and update correct update _price
field, related issue: #8076
Closes #9437
2015-10-27 11:27:31 -02:00
Shohei Tanaka
94dc4e310b
Customer Name in admin Order list
...
In Japan we want to use full name order in admin order list.
2015-10-27 06:37:04 +09:00
Claudio Sanches
cf6fb76741
Created function to disable author archives for customers
...
cc @mikejolley
2015-10-26 15:38:44 -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
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
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
Mike Jolley
d363e810d8
Default to first found gateway
...
Closes #9378
2015-10-22 16:39:15 +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
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
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
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
883170e261
Cache coupon id from code lookup in a transient.
2015-10-20 21:42:46 -06: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
Claudio Sanches
1ea5b8433f
Escape normalized for the woocommerce_variation_option_name filter
2015-10-18 10:42:44 -06:00
Ewout Fernhout
ab85ebfbc4
check if product exists
...
fixes #9363
2015-10-15 09:43:53 +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
5c6206e511
[2.4] Fixed WC_API_Orders::set_line_item() for v2 #9338
2015-10-11 11:34:34 -03:00
Claudio Sanches
5465cdadb1
[2.4] Fixed WC_API_Orders::set_line_item(), closes #9338
2015-10-11 11:32:56 -03:00
Claudio Sanches
f6526d72a7
[API] Allow get variable products by sku, closes #9330
2015-10-09 16:43:12 -03:00
Claudio Sanches
eedff144e7
Created assets/js/frontend/password-strength-meter.js #9319
2015-10-09 13:31:47 -03:00
Claudio Sanches
0248ebdac7
Better password-strength-meter load #9319
2015-10-09 11:22:31 -03:00
Claudio Sanches
c4bd6b25c1
Merge pull request #9319 from nishitlangaliya/Issue-8938
...
Issue 8938
2015-10-09 11:12:56 -03:00
roykho
27db35dd12
[onboard wizard] Remove required attribute from currency_code form element so it is not required
2015-10-09 07:01:49 -07:00
Biont
bf4c5b1d91
Provide a filter after tax calculations are done #9313
2015-10-09 15:46:23 +02:00
Mike Jolley
6027b355ca
Further get_variation_prices tweaks
...
For 2.5, I’ve adjusted the caching to store 1 transient per variable
product. The cache key etc is still needed, but its stored within a
single transient instead of several.
This should prevent exponential growth of transient data for users.
Thoughts?
@daigo75 @franticpsyx @claudiosmweb
2015-10-09 12:49:39 +01:00
Mike Jolley
68cb6b11ee
Removed welcome page
...
2.5 release doesn’t have enough user-facing features to justify a
full-blown welcome page, and translation credits are no longer
obtainable after translate.wordpress switch. Removed the page to keep
things streamlined.
@claudiosmweb @mattyza
2015-10-09 11:56:13 +01:00
Mike Jolley
919f19b698
Remove transifex references
2015-10-09 11:31:42 +01:00
Mike Jolley
b913555d54
Change customer role caps
...
Fixes #9309 . @claudiosmweb
2015-10-09 11:00:25 +01:00
Mike Jolley
4399a3b48a
Allow wc_clean to support arrays
...
Closes #9329 @claudiosmweb
2015-10-09 10:41:51 +01:00
nishitlangaliya
f468f16e29
fixes: changes as per suggestion given by claudiosmweb ref #8938
2015-10-09 13:25:47 +05:30
Shiva Poudel
3763c416a9
Docblock for related products
2015-10-09 07:38:15 +05:45
Claudio Sanches
59303a1709
Merge pull request #9308 from woothemes/api-tax-endpoint
...
[API] Tax endpoint
2015-10-08 18:49:43 -03:00
Claudio Sanches
15e79820aa
[API] Better naming for returned data on the taxes endpoint
2015-10-08 18:49:05 -03:00
Claudio Sanches
e84fa58e35
[API] Created taxes bulk method
2015-10-08 18:44:26 -03:00
Claudio Sanches
860d292f4f
[API] Added method to edit tax rates
2015-10-08 18:34:47 -03:00
Claudio Sanches
1a3b5f3a6f
[API] Fixed the tax_rate key
2015-10-08 18:01:38 -03:00
Claudio Sanches
3200a1dc0c
Removed error_log()
2015-10-08 17:35:34 -03:00