Commit Graph

1699 Commits

Author SHA1 Message Date
claudiulodro 2bccd4899a Revise to make code cleaner 2018-11-30 08:49:43 -08:00
claudiulodro d1533261f5 Extra sanitizing around payment_method_title 2018-11-30 08:49:43 -08:00
Rodrigo Primo a096e2729a
Merge pull request #21936 from woocommerce/fix/21878
Use wp_kses_post for sanitizing product names instead of esc_html
2018-11-22 10:54:57 -02:00
Claudiu Lodromanean b85598a576
Merge pull request #22001 from woocommerce/fix/21792
Fix missing lost password notices
2018-11-21 13:06:39 -08:00
Gerhard Potgieter 7c7f0725ef Update new account email copy to be representative of auto generated accounts also. (#21999)
* Update customer new account email copy to be more friendly for auto generated usernames.

* Bump template versions
2018-11-21 15:27:33 -02:00
Gerhard f58fcf6b3b Add woocommerce_before_lost_password_form and woocommerce_after_lost_password_form actions and hook into woocommerce_output_all_notices 2018-11-21 10:32:28 +02:00
Gerhard 097861605e Update translators comment to reflect true variable 2018-11-19 11:38:30 +02:00
claudiulodro d09e9eb95c Use wp_kses_post for sanitizing product names instead of esc_html 2018-11-15 11:42:22 -08:00
Gerhard 2db7197d38 Revert parts of #20881. Passing html through wp_kses_post will strip out things like data attributes on allowed elements. 2018-11-15 15:04:37 +02:00
Claudiu Lodromanean d3c67b675b
Merge pull request #21879 from mcary/fix-this-in-invoice
Fix error when rendering customer invoice email
2018-11-14 15:08:13 -05:00
Marcel M. Cary a0cb6a9166 Fix error when rendering customer invoice email
When sending a customer their invoice on a non-pending order, I get this
error in the logs:

    PHP Fatal error: Uncaught Error: Using $this when not in object context in
    wp-content/plugins/woocommerce/templates/emails/plain/customer-invoice.php:37

    Stack trace:
    #0 wp-content/plugins/woocommerce/includes/wc-core-functions.php(208): include()
    #1 wp-content/plugins/woocommerce/includes/wc-core-functions.php(228): wc_get_template('emails/plain/cu...', Array, '', '')
    #2 wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(165): wc_get_template_html('emails/plain/cu...', Array)
    #3 wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(502): WC_Email_Customer_Invoice->get_content_plain()
    #4 wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(130): WC_Email->get_content()
    #5 wp-content/plugins/woocommerce/includes/class-wc-emails.php(338): WC_Email_Customer_Invoice->trigger(288402, Object(WC_Order))
    #6 wp-content/plugins/woocommerce/templates/emails/plain/customer-invoice.php on line 37
    referer: wp-admin/post.php?post=nnnnnn&action=edit

Change the "$this->object" reference to "$order" instead.
2018-11-10 14:07:55 -08:00
Ron Rennick b5d52909e2 update lost password filter name in password confirmation template 2018-11-06 10:47:06 -04:00
dixitadusara 2613770f09 remove Over to you text from admin order confirmation email 2018-10-27 13:02:05 +05:30
nishitlangaliya cbcd647a34 Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD
# Conflicts:
#	.github/CONTRIBUTING.md
#	includes/gateways/cod/class-wc-gateway-cod.php
#	includes/wc-formatting-functions.php
#	templates/single-product/product-image.php
2018-10-27 12:14:09 -08:00
dixitadusara d95dcb48a2 Merge branch 'master' of https://github.com/woocommerce/woocommerce
# Conflicts:
#	templates/single-product/product-image.php
2017-07-14 14:28:28 +05:30
Mike Jolley 7c321a2269 Ajaxify widget remove from cart button
Fixes #13171
2017-07-13 12:15:13 +01:00
Mike Jolley e04ef935a9 Merge branch 'master' into update/15563
# Conflicts:
#	templates/myaccount/my-downloads.php
#	templates/order/order-details.php
2017-07-11 16:13:04 +01:00
Mike Jolley ce94a1f921 Plain 2017-07-11 16:08:06 +01:00
Mike Jolley 94b32e644a HTML emails 2017-07-11 14:52:30 +01:00
Mike Jolley 3939f50ced Download display in account/checkout 2017-07-11 13:45:35 +01:00
Mike Jolley fb784930f6 Ensure a valid order is found in order-details.php template
Closes #16049
2017-07-11 11:10:40 +01:00
Claudio Sanches a7582d50da Merge pull request #16050 from woocommerce/update/15985
Use select2 in cart
2017-07-10 15:40:56 -03:00
Mike Jolley 555f093ac3 Use select2 in cart
Fixes #15985
2017-07-10 13:14:27 +01:00
nishitlangaliya 1e8e41ffb6 Schema data out of date in review-meta removed ref #16018 2017-07-08 12:13:38 +05:30
Claudio Sanches 311e28d502 Merge pull request #15941 from urosmil/master
Filter in order details
2017-07-04 16:29:42 -03:00
Mike Jolley 671f052641 Tweak terms template to check the woocommerce_shortcode is not present in the content. 2017-07-04 14:03:08 +01:00
urosmil c563f1a6b9 Filter in order details
Added filter to order items so custom products from custom classes can be listed
2017-07-03 14:41:01 +02:00
andrebalza b41b2ebb82 Issue #15860 - Override instructions corrected 2017-06-29 12:26:28 +03:00
Caleb Burks 9d68638f48 Update some template comments 2017-06-27 23:04:09 -05:00
dixitadusara 1c58f0e79f Title and Alt tag added in the PhotoSwipe enlarged product image 2017-06-27 14:32:45 +05:30
Mike Jolley b6929a8abb Template version bumps 2017-06-20 15:49:02 +01:00
Mike Jolley ccad987bac Allow state field to have the correct country set by passing it through
Fixes #15632
2017-06-16 11:45:53 +01:00
Mike Jolley 636ad8b652 Add a nonce and confirmation for logging out via the customer my account page 2017-06-12 14:02:29 +01:00
Mike Jolley 396c8aa4fc Fix comment
Closes #15560
2017-06-12 11:39:22 +01:00
Claudio Sanches 527fa0d07a Fixe CHMOD 2017-06-05 14:45:30 -03:00
Mike Jolley d39d882a4e use make clickable for urls
#15305
2017-06-01 15:29:17 +01:00
Mike Jolley 50dc533ebb Template bump 2017-05-30 11:03:51 +01:00
Mike Jolley 38bcdcfb28 Use get_max_purchase_quantityin cart template and fix logic
Closes #15329
2017-05-30 11:02:56 +01:00
Mike Jolley b140f61510 Merge branch 'master' into fix/14578
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-05-23 15:09:20 +01:00
Mike Jolley 690520a5b1 Setup postdata after grouped loop so description etc is correct
Closes #14995
2017-05-10 19:41:55 +01:00
Beka Rice 69752ec933 Bump template version + fix inconsistent alignment (use all spaces) 2017-05-10 04:23:08 -04:00
Beka Rice b9680e250f Fix: Grouped Product page add to cart template shows only the grouped product name / permalink 2017-05-10 04:06:58 -04:00
Mike Jolley 36f78230fc reset post data prevents grouped products working in shortcodes
Fixes #14825
2017-05-08 16:14:46 +01:00
Claudio Sanches c0e71a2238 Merge pull request #14797 from woocommerce/fix/14426-1
Standardize rating HTML in all templates
2017-05-05 17:47:28 -03:00
Rodrigo Primo 20b2ea58bd Remove extra unnecessary space 2017-05-03 14:06:18 -03:00
Gabor Javorszky 248ff51bea use yoda condition all incarnations of filter do
Fixes #14829
2017-05-02 11:43:06 +01:00
Claudio Sanches 5826a9bce0 Display total of customer reviews and applied to rating template 2017-04-28 19:56:05 -03:00
Claudio Sanches 915a4c7f59 Applied wc_get_rating_html() to review rating template 2017-04-28 19:33:39 -03:00
Mike Jolley e143a51cc7 Merge pull request #14463 from woocommerce/add/show-shipping-calculator-variable
Add variable so shipping calculator is shown on first row
2017-04-27 17:41:48 +01:00
Mike Jolley c247909e78 Merge branch 'pr/14375' 2017-04-27 17:32:47 +01:00