Commit Graph

2218 Commits

Author SHA1 Message Date
michakrapp 8d3c76d980 account edit form disble autocomplete for password fields 2018-03-28 12:18:14 +02:00
Claudiu Lodromanean cdb8cf86af
Merge pull request #19530 from woocommerce/add/escaping-to-publish-date
Add escaping to publish date
2018-03-27 12:12:53 -07:00
Jonathan Belcher 435337c3e0
Bump version Number 2018-03-27 11:51:47 -04:00
Jonathan Belcher b039e40fed Fixes stray space in tabbing 2018-03-26 13:51:24 -04:00
Jonathan Belcher 97c591a5e5 Add escaping to piblish date 2018-03-26 13:44:16 -04:00
Jonathan Belcher 47a82fbb3d Fixes incorrect escaping 2018-03-26 13:37:44 -04:00
Várkonyi Zoltán 7897c7b692 Add classes to register form (#19486)
* Add consistent css classes to register form, as on login form

https://github.com/woocommerce/woocommerce/issues/19480

* Fix linebreak

https://github.com/woocommerce/woocommerce/issues/19480

* Fix build error - Remove @author tag - https://github.com/woocommerce/woocommerce/issues/19480

* Bump version to 3.4.0 - https://github.com/woocommerce/woocommerce/issues/19480
2018-03-23 11:27:18 +00:00
Mike Jolley fb8b670cda Merge branch 'master' into update/19345 2018-03-19 18:00:28 +00:00
Mike Jolley e509e92f7b BW compat for nonce check 2018-03-19 17:59:30 +00:00
michakrapp cef2b1ee13 Add autocomplete attributes to reset password form 2018-03-19 09:30:11 +01:00
michakrapp cc742b908a Add autocomplete attributes to lost password form 2018-03-19 09:25:57 +01:00
michakrapp 4283804f38 Add autocomplete attributes to account edit form
maybe "password-current" should get autocomplete="off" to prevent trigger password change on default
2018-03-19 09:22:00 +01:00
michakrapp 7145b8f729 template global form-login autocomplete attributes 2018-03-19 08:53:53 +01:00
michakrapp 5a19f00c5a accout login autocomplete - commit with correct user account
on first commit used false user account
2018-03-16 11:07:02 +01:00
mksunlab 6a29551979 Revert "add autocomplete attributes to account and register forms"
This reverts commit 555d680f6e.
2018-03-16 11:00:54 +01:00
mksunlab 555d680f6e add autocomplete attributes to account and register forms
patch for issue #19425
2018-03-16 10:25:37 +01:00
Mike Jolley 9d10d107e2 Add names to nonces in template files. 2018-03-13 14:15:41 +00:00
Mike Jolley ffcfbd2108 version 2018-03-13 10:21:57 +00:00
Mike Jolley 7acb475c59 escape and strip tags in the quantity template
Closes #19356
2018-03-13 10:21:42 +00:00
Claudiu Lodromanean 4fbd01f003
Merge pull request #19288 from woocommerce/fix/19210
Introduce woocommerce_product_loop helper for loops
2018-03-12 10:50:25 -07:00
Mike Jolley d289be327b Merge branch 'master' 2018-03-08 13:24:01 +00:00
Mike Jolley 6d76cb71fd Introduce woocommerce_product_loop helper 2018-03-07 12:54:00 +00:00
Gerhard Potgieter fb76e1dd7d Revert tamplate version to 3.4.0 2018-03-07 12:53:27 +02:00
Gerhard Potgieter dce123bf23 Bump template version 2018-03-07 11:59:10 +02:00
Gerhard Potgieter 11c85c7b8d Do not pass the attribute name coming from the $_REQUEST variable through sanitize_title when working out the selected attribute as non english chars result in non matching checks. wc_dropdown_variation_attribute_options takes care of sanitization already. 2018-03-07 10:47:18 +02:00
digitalchild 14ac7736a3 Fixed: Matched indentation of other filters 2018-03-06 11:23:58 +07:00
digitalchild e838ec8b2b Added: State filter for shipping calculator 2018-03-05 11:37:25 +07:00
Mike Jolley 46ab27e4e8
Merge pull request #18820 from alexmacarthur/pii-removal
PII Issue Prevention - Remove user login from reset password link.
2018-03-03 17:19:55 +00:00
Mike Jolley a3dac6f1e2
Merge pull request #19191 from woocommerce/fix/19181
KSES instead of escaping of download names
2018-03-02 19:23:29 +00:00
Mike Jolley 9b6f3f6f9b Use no-js class to hide JS only forms/content 2018-03-01 15:53:45 +00:00
Mike Jolley aca0662839 KSES instead of escaping of download names
Fixes #19181
2018-03-01 10:37:39 +00:00
Mike Jolley 19df267023 Validate terms as required. 2018-02-28 15:42:39 +00:00
Claudio Sanches d9f1b7c7d4 Fixed converting letters with accents to uppercase in templates
Closes #19084
2018-02-22 12:32:08 -03:00
Alex MacArthur e01385d2b4 Remove user login from reset password link. 2018-02-22 06:58:18 -06:00
Mike Jolley f49491809f
Merge pull request #19078 from woocommerce/fix/17606
Display name input on My Account page
2018-02-22 12:29:58 +00:00
Mike Jolley 8ba381f2a6
Merge pull request #19059 from woocommerce/update/cart-coupon-input-to-button
Update cart coupon button from input to button type.
2018-02-22 12:26:11 +00:00
Mike Jolley fd3e693ae6
Merge pull request #18993 from woocommerce/fix/18992-deleted-terms-conditions
Make sure terms page exists and isn’t trashed
2018-02-22 12:24:57 +00:00
Claudio Sanches 0f797714f1 Tweaks on account display name 2018-02-21 21:52:45 -03:00
Claudio Sanches c0e29d0cbe
Merge branch 'fix/17606' into add/17606 2018-02-21 21:34:38 -03:00
Caleb Burks 384086b96f Check if terms page is published 2018-02-21 17:18:07 -05:00
Claudio Sanches 1fa62f83a8 Fixed template version 2018-02-21 12:51:42 -03:00
Gerhard Potgieter 077eebbf98 Bump template version to 3.4 2018-02-21 12:44:05 +02:00
Gerhard Potgieter bac2bf7b91 Update cart coupon button from input to button type. 2018-02-21 08:19:26 +02:00
Claudio Sanches 86c14f21bd
Merge pull request #19051 from aaronkirkham/master
Add missing direct script access checks
2018-02-20 16:44:36 -03:00
Claudio Sanches 2d85b5adde
Merge pull request #18956 from R33D3M33R/patch-1
Convert HTML comments to PHP, remove empty lines
2018-02-20 16:19:41 -03:00
aaronlad 87672370c5 add missing direct script access checks 2018-02-20 18:38:46 +00:00
Mike Jolley 90717295cf Remove globals/add woocommerce_add_to_cart_form_action filter 2018-02-20 11:12:29 +00:00
Claudio Sanches 965daefe45
Merge pull request #18970 from woocommerce/delete/whitespace-orders
Delete Whitespace
2018-02-19 10:47:12 -03:00
Claudio Sanches 2afb88647b
Merge pull request #18969 from woocommerce/delete/whitespace-my-orders
Deletes whitespace
2018-02-19 10:46:56 -03:00
Caleb Burks c36b2f2fde Make sure terms page exists and isn’t trashed 2018-02-16 02:27:34 -05:00
Mike Jolley f3a524255a
Merge pull request #18980 from edwardkay/patch-1
Grammar fix to login button
2018-02-15 14:04:13 +00:00
Edward Kay cc6149d08a
Grammar fix to login button
Login is a noun, not a verb :) See https://www.quora.com/Which-is-correct-%E2%80%9Clogin%E2%80%9D-or-%E2%80%9Clog-in%E2%80%9D
2018-02-15 13:58:21 +00:00
Iconic 79fa19251e
Mini cart item link
This should account for the value of `$product_permalink`, not just whether the product is visible.
2018-02-15 13:31:40 +00:00
Jonathan Belcher f64be6dc62
Delete Whitespace 2018-02-14 15:41:13 -05:00
Jonathan Belcher 8d757e3d3c
Deletes whitespace 2018-02-14 15:40:01 -05:00
Andrej Mernik 62e158835c
Update photoswipe.php
Remove comments. Theme developers can read the Photoswipe docs for modification ...
2018-02-14 07:48:12 +01:00
Mike Jolley 280ca3757e wc_get_gallery_image_html checks 2018-02-13 19:18:13 +00:00
Andrej Mernik 4e1fab4652
Convert HTML comments to PHP, remove empty lines
There are no benefits of exposing code comments to the public. The code was also made more compact.
2018-02-13 14:43:02 +01:00
Mike Jolley 2b36b5f49f Main image should be larger. 2018-02-13 11:16:42 +00:00
Mike Jolley a55a4b9a88 Use helper function which has more filters and moves logic out of template file 2018-02-13 11:16:42 +00:00
Mike Jolley 7dd880ca57 Email order details template version
This template had a change but was not bumped.
2018-02-09 16:52:02 +00:00
Kathy Darling e54009e652 Add grouped_form class to grouped product <form> element. Closes #18763 2018-02-02 11:17:42 -06:00
Mike Jolley 5bea7de93c
Merge pull request #18743 from woocommerce/fix/unsupported-theme-homepage-pagination
Fix shop on homepage with unsupported themes
2018-02-01 12:45:17 +00:00
Mike Jolley 2ed9691c14 Fix shop on homepage with unsupported themes 2018-02-01 11:15:46 +00:00
Mark Truitt 382d31018a
Update wrapper-end.php
default fallback needed to be reversed. Opening containers are div > main
2018-01-31 19:23:46 -05:00
claudiulodro 2cf3a5f57e Add fallback for themes that just get the pagination template 2018-01-31 10:10:09 -08:00
Jason Kytros a08c003254 Remove filter 'woocommerce_order_item_product' from order-details.php 2018-01-31 14:54:51 +02:00
Mike Jolley 04fe7aaf4a Switch to variable 2018-01-30 12:12:44 +00:00
Stanislav Mazur c692c0a869 Make 'woocommerce_email_downloads_column_' hook format aware (#18598) 2018-01-25 18:04:17 +02:00
Jared Burke 8c62d76aee Fix: use string escape for order numbers 2018-01-24 09:45:35 -06:00
Mike Jolley b9a4a342e6 Remove the lone price/label/quantity class in grouped template
Closes #18542
2018-01-22 14:27:46 +00:00
Claudiu Lodromanean bb47315fdd
Merge pull request #18459 from woocommerce/fix/18451
Auth screen escaping
2018-01-12 07:26:54 -08:00
Claudio Sanches 7290d6e42e Fixed test string #18430 2018-01-12 11:59:17 -02:00
Mike Jolley ac7bdd1a56 Fix escaping and PHPCS 2018-01-12 13:04:26 +00:00
Claudio Sanches cac9e0d872 Fixed number of args passed to woocommerce_order_item_meta
Part of #18437
2018-01-11 14:47:19 -02:00
Claudio Sanches 452cc738cb Fixed number of args passsed to woocommerce_order_item_meta_start
Closes #18437
2018-01-11 14:21:49 -02:00
Mike Jolley b17ef15f7d phpcs 2018-01-11 12:28:08 +00:00
Mike Jolley f1e0d4929b Implement get_edit_order_url method. 2018-01-11 12:04:39 +00:00
ElectricFeet 21c5b36113
Remove non-standard outdated CSS
Removed `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698
2018-01-03 17:58:02 +01:00
claudiulodro 7fcbceaae5 Refactor logic 2017-12-21 11:31:58 -08:00
claudiulodro d0bc5964ea Actually use correct template version 2017-12-21 11:25:22 -08:00
claudiulodro 59a174985b Use correct template version and phpcs 2017-12-21 11:20:30 -08:00
claudiulodro 2d88654a0a Always use contrasting color for links 2017-12-21 11:14:14 -08:00
claudiulodro 28db1c270a Use text color for links 2017-12-21 06:35:55 -08:00
Chetan Prajapati 325cbf443d
Remove space before comma in function call
There is PHPCS error about "Remove space before comma in function call". That needs to be removed.
2017-12-20 22:07:48 +05:30
Claudio Sanches 9413589e8f Apply woocommerce_short_description filter before check if excerpt is empty
Closes #18225
2017-12-19 14:19:12 -02:00
Caleb Burks 82c5975b37 Prevent duplicate IDs on checkout page 2017-12-17 22:43:51 -06:00
Claudiu Lodromanean 906efe1ffc
Merge pull request #18189 from woocommerce/fix/17897
Add getter for tax_display_cart variable, with filter
2017-12-15 08:44:43 -08:00
Mike Jolley 06a7570f4b Out of stock should not show qty in grouped products. 2017-12-15 15:32:50 +00:00
Mike Jolley 01871fd2c8 Add getter for tax_display_cart variable, with filter 2017-12-15 13:39:35 +00:00
Mike Jolley 755647ec5c Improve subcat display to see if subcats can actually be displayed 2017-12-13 15:46:09 +00:00
Mike Jolley 87fd8b2feb Update pay link wording 2017-12-12 16:38:50 +00:00
Mike Jolley 6bd89b6106 Template version bumps
@claudiulodro
2017-12-12 13:13:00 +00:00
Mike Jolley e6b4b36e7d
Merge pull request #18096 from ramiy/patch-2
a11y: add `role=alert` to woocommerce error msgs
2017-12-12 13:10:19 +00:00
Mike Jolley 466cb3e1cb
Merge pull request #18074 from ramiy/patch-1
a11y: add `role=alert` to woocommerce message div
2017-12-12 13:10:10 +00:00
Rami Yushuvaev 255c3211ab
a11y: add `role=alert` to woocommerce error msgs
See #18074
2017-12-11 16:40:25 +02:00
Mike Jolley f4927ea837 Give control over loop button attributes
Closes #18079
2017-12-11 13:09:21 +00:00
Mike Jolley bd944cb664 Using $args makes it clearer what's in the variable. 2017-12-11 12:36:47 +00:00
Caleb Burks 92ee7da0aa Pass $args to woocommerce_loop_add_to_cart_link 2017-12-09 20:54:40 -06:00
Mike Jolley 1fbcff023d Include city field by default 2017-12-08 14:11:51 +00:00
Rami Yushuvaev 29019b7713
a11y: add `role=alert` to woocommerce message div
Help assistive technology and to mark the message as important message. When this role is added to an element, the browser will send out an accessible alert event to assistive technology products which can then notify the user about it.
2017-12-08 15:22:07 +02:00
Boro Sitnikovski d0f9aaa99a Merge branch 'master' into tweak/decouple-cart-template-methods 2017-12-07 20:16:08 +01:00
Boro Sitnikovski c9d06bb4b9 Bump templates version 2017-12-07 16:00:30 +01:00
Boro Sitnikovski 588c5f3779 Change method name 2017-12-07 15:53:16 +01:00
Mike Jolley 119ee7f27c Use new loop functions 2017-12-06 18:10:44 +00:00
Mike Jolley 8dcffa660e Normalise get_query_results names and add new param for pagination 2017-12-06 13:13:43 +00:00
Boro Sitnikovski 145d47c580 Decouple cart templating methods from WC_Cart class 2017-12-05 13:00:21 +01:00
claudiulodro d60456cc73 Resolve conflicts and bring up to date with master 2017-12-04 13:56:59 -08:00
Claudiu Lodromanean b05cd3f3a7
Merge pull request #17934 from woocommerce/fix/17925
Display product URL only if is not hidden in downloads list
2017-11-29 10:33:34 -08:00
Andrew Lazarus db65913d3c
Removed whitespace in variations
Whitespace is added by formatting the lines with whitespace. This stops you from being able to target the element & check if it's empty with :empty etc.
2017-11-29 10:55:09 +01:00
Claudio Sanches fd4fa0cf71 Fixed coding standards 2017-11-28 11:04:38 -02:00
Claudio Sanches def87b74bf Display product URL only if is not hidden in downloads list
Fixes #17925
2017-11-28 10:18:43 -02:00
Arif Widianto ebbdf2da0e Change description as of mikejolley's suggestion 2017-11-28 08:50:20 +07:00
Arif Widianto 51948b7ae5 Fix account page for providing display_name edit 2017-11-28 07:56:36 +07:00
Arif Widianto 0b42515c93 Provides edit display name in my-account page (#17606) 2017-11-22 15:20:49 +07:00
Mike Jolley b9bfc4a26b
Merge pull request #17753 from willgorham/fix/17597
Responsive table for order downloads
2017-11-20 12:18:54 +00:00
Brandon Kraft e34551c6b7
Correct nesting of args 2017-11-17 15:40:54 -06:00
Brandon Kraft b77dadf5ba
Bump template version 2017-11-17 15:16:53 -06:00
Brandon Kraft 7e9068ac53
Correct errors per PHPCS 2017-11-17 12:10:58 -06:00
Brandon Kraft 5974901124
Change default text for checkout page link 2017-11-17 11:17:22 -06:00
Mike Jolley 21e51b9fc6
Merge pull request #17692 from woocommerce/update/16925
Add add_to_cart_description method and aria-labels to cart buttons in the loop
2017-11-17 12:35:50 +00:00
Will G 07431b0620
Responsive table for order downloads 2017-11-17 00:21:28 -05:00
Mike Jolley ef4859aaf0
Merge pull request #17711 from woocommerce/update/17502
Improve the Add Payment Methods display
2017-11-15 11:05:11 +00:00
Mike Jolley bb2e506a2b Tweak wording 2017-11-15 11:04:20 +00:00
Mike Jolley babde741db Add add_to_cart_description method and aria-labels to cart buttons in the loop 2017-11-14 11:45:16 +00:00
Mike Jolley 1d93d8f577 Columns styling 2017-11-10 17:50:56 +00:00
Mike Jolley 2a3ace9853 Merge branch 'master' into feature/17550-archives-template-support 2017-11-09 17:34:57 +00:00
Chase Wiseman 9558c49e72 Review tweaks 2017-11-09 09:26:17 -08:00
Mike Jolley 6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Mike Jolley c058921c9c Optimisation of product subcats template functions 2017-11-08 20:00:23 +00:00
Mike Jolley a0e2e59f9b Orderby support 2017-11-08 18:09:39 +00:00
Mike Jolley 8da485e911 Allow reuse of pagination template file 2017-11-08 16:39:28 +00:00
Mike Jolley 9f6f5f9f17
Merge pull request #17609 from woocommerce/update/17254-input-to-button
Convert input submit elements to button submit elements
2017-11-07 19:21:04 +00:00
Mike Jolley db4e630600 Replace thumbnail names 2017-11-07 18:48:51 +00:00
claudiulodro 6b514aaab8 Make underscores the default 2017-11-07 08:45:05 -08:00
Gerhard Potgieter 8b16bdcf42 input to button for submit in product-searchform.php template 2017-11-07 12:35:32 +02:00
Gerhard Potgieter 7f5ed6e95c PHPCS fixes for product-searchform.php template 2017-11-07 12:34:30 +02:00
Gerhard Potgieter bb172ea930 input to button for submit in order/form-tracking.php template 2017-11-07 12:32:20 +02:00
Gerhard Potgieter 96b8fad138 PHPCS fixes for order/form-tracking.php template 2017-11-07 12:30:13 +02:00
Gerhard Potgieter 23de60b56c input to button for submit in myaccount/form-reset-password.php template 2017-11-07 12:24:11 +02:00
Gerhard Potgieter f9d14cbc06 PHPCS fixes for myaccount/form-reset-password.php template 2017-11-07 12:23:31 +02:00
Gerhard Potgieter 91b23d8d03 input to button for submit in myaccount/form-lost-password.php template 2017-11-07 12:21:50 +02:00
Gerhard Potgieter a0d29aeb30 PHPCS fixes for myaccount/form-lost-password.php template 2017-11-07 12:21:05 +02:00
Gerhard Potgieter 978e69374f input to button for submit in myaccount/form-login.php template 2017-11-07 12:19:57 +02:00
Gerhard Potgieter 5c3918b738 PHPCS fixes for myaccount/form-login.php template 2017-11-07 12:18:26 +02:00
Gerhard Potgieter 10f13c45fc input to button for submit in myaccount/form-edit-address.php template 2017-11-07 12:15:00 +02:00
Gerhard Potgieter a6a63ad939 PHPCS fixes for myaccount/form-edit-address.php template 2017-11-07 12:14:05 +02:00
Gerhard Potgieter 86b20dd76b input to button for submit in myaccount/form-edit-account.php template 2017-11-07 12:09:12 +02:00
Gerhard Potgieter 62c20de262 PHPCS fixes for myaccount/form-edit-account.php template 2017-11-07 12:07:34 +02:00
Gerhard Potgieter ea585b119b input to button for submit in myaccount/form-add-payment-method.php template 2017-11-07 12:05:29 +02:00
Gerhard Potgieter b24f16f492 PHPCS fixes for myaccount/form-add-payment-method.php template 2017-11-07 12:03:42 +02:00
Gerhard Potgieter 05e539c85e input to button for submit in global/form-login.php template 2017-11-07 12:01:25 +02:00
Gerhard Potgieter 8cf3bd8b80 PHPCS fixes for global/form-login.php 2017-11-07 12:00:13 +02:00
Gerhard Potgieter 23a4342b2a Remove escaping around filter, breaks remove button 2017-11-07 11:58:17 +02:00
Gerhard Potgieter 35876dc06f input to button for submit in payments.php template 2017-11-07 11:55:38 +02:00
Gerhard Potgieter afdefc06c2 PHPCS fixes for payments.php template 2017-11-07 11:54:18 +02:00
Gerhard Potgieter 674252ae47 input to button for submit in form-pay.php template 2017-11-07 11:51:25 +02:00
Gerhard Potgieter 702c085ab9 PHPCS fixes for template form-pay.php 2017-11-07 11:50:15 +02:00
Gerhard Potgieter fdd9ff325b input to button for submit in form-coupon.php template 2017-11-07 11:40:30 +02:00
Gerhard Potgieter 31825e8f60 input to button for submit in cart.php template 2017-11-07 11:39:08 +02:00
Gerhard Potgieter 68ee7d6fde PHPCS fixes for cart.php template 2017-11-07 11:37:48 +02:00
Gerhard Potgieter a5562cc31d Bump template version 2017-11-07 11:34:44 +02:00
Gerhard Potgieter 491c9f0abe input to button for submit in form-login.php 2017-11-07 11:01:25 +02:00
Gerhard Potgieter 8cbef7359e PHPCS fixes in form-login.php 2017-11-07 10:59:55 +02:00
claudiulodro c3689134d0 Underscores wrappers 2017-11-06 13:46:50 -08:00
Chase Wiseman c7df19f3ab Return the "no payment methods" message to the Add Payment Method page 2017-11-01 10:13:26 -07:00
Chase Wiseman 5c57be18b0 Conditionally display the Add Payment Method button if there are available gateways 2017-11-01 10:13:01 -07:00
Mike Jolley ecb90b4ae5 Merge branch 'master' into pr/17111
# Conflicts:
#	templates/single-product/add-to-cart/grouped.php
2017-10-31 16:08:32 +00:00
Mike Jolley b8e0016dcd Grouped products; allow custom columns and changes to values 2017-10-31 16:07:30 +00:00
Mike Jolley d08548c3a9 Version 2017-10-27 18:49:48 +01:00
Mike Jolley ba3d959e66 Merge branch 'master' into pr/17183 2017-10-27 18:49:27 +01:00
Mike Jolley 349e37399f Merge branch 'pr/17315' 2017-10-27 16:42:32 +01:00
Mike Jolley 3c3173b2f8 Rename actions and handle deprecation 2017-10-27 16:42:19 +01:00
Mike Jolley 8695d46637 Merge branch 'pr/17041' 2017-10-27 15:35:43 +01:00
Mike Jolley bfebd204ee Code standards and better action names 2017-10-27 15:35:34 +01:00
Mike Jolley 9d7960a6ce Wrap table in div with margin
Closes #17362
2017-10-26 14:52:40 +01:00
Justin Sternberg 0748c6b090 Update template file version to 3.3.0 2017-10-24 13:34:30 -04:00
Mike Jolley 3340d5c7cc Add form action
Closes #17280
2017-10-20 16:12:56 -07:00
Mike Jolley 164f77add4 phpcs 2017-10-20 16:06:02 -07:00
Justin Sternberg fe28187bc5 Add order-details `before` hooks to complement existing hooks.
Includes:

* `woocommerce_order_details_before_order_table` to complement `woocommerce_order_details_after_order_table`
* `woocommerce_order_items_table_before` to complement the unfortunately-named `woocommerce_order_items_table`
2017-10-20 13:26:52 -04:00
Truong Giang 5f43592689 Correct indentation 2017-10-17 22:16:50 +07:00
Claudio Sanches 73e5d3c7de Merge pull request #17153 from woocommerce/fix/17140
Use base text color for links in emails
2017-10-16 22:48:58 -07:00
Mike Jolley 7419168e65 More cleanup and new fallback option for addresses 2017-10-16 08:12:07 -07:00
Gareth McCumskey adcf83441b Re-adjusted all other style changes to better match back to project style requirements 2017-10-16 09:16:43 +02:00
Mike Jolley c2c213fe05 Include date in customer emails again 2017-10-13 15:09:21 +01:00
Gareth McCumskey 96032fc771 Adjusted the formatting to better match the if's and endif's 2017-10-13 08:47:48 +02:00
claudiulodro 660d663149 Revert order detail header behavior 2017-10-12 10:58:04 -07:00
claudiulodro 8acba76696 Add email to email address template 2017-10-12 08:07:10 -07:00
Mike Jolley 819951815e Use base text color for links in emails 2017-10-12 12:27:15 +01:00
Kathy Darling 0c18d8bab4 add woocommerce_grouped_product_list_after_price hook 2017-10-09 14:03:55 -05:00
Kathy Darling 98485d8bbf move woocommerce_grouped_product_list_before_price hook into <td> element 2017-10-09 14:03:35 -05:00
Mike Jolley ce11605287 Classname was using total instead of email 2017-10-09 11:37:00 +01:00
Filipe Seabra 0dad12537b Version was bumped 2017-10-04 12:54:00 -03:00
Filipe Seabra 872fed68dc Added to new actions in content-widget-product.php so plugins can easily and specifacally do sth within product widgets. There's no issue/reference, sorry. 2017-10-03 17:52:36 -03:00
Claudio Sanches bd13b066c8 Fixed coding standards 2017-10-02 14:13:15 -03:00
nishitlangaliya 65464d3a02 Tab to intent, space to align the => and localization done #16966 2017-10-02 22:29:00 +05:30
nishitlangaliya 40e88afd62 indenting code, and necessary changes done ref #16966 2017-10-01 13:52:02 +05:30
nishitlangaliya eb73972afa As per suggestions required changes done ref #16966 2017-09-29 10:38:14 +05:30
nishitlangaliya a30819092c aria-labelledby added to quantity field ref #16966 2017-09-29 01:52:48 +05:30
Claudio Sanches 966dd0d3be Merge pull request #16939 from woocommerce/update/16909
Added screen reader text to quantity input template
2017-09-26 10:40:23 -03:00
Mike Jolley 3a17d48af2 Added screen reader text to quantity input template
Closes #16909
2017-09-26 12:05:09 +01:00
Jim f30b0573c9 Bump template version single-product-reviews.php 2017-09-25 16:01:54 +02:00
claudiulodro 02e33b3cd7 Update template version 2017-09-21 09:05:04 -07:00
Mike Jolley c91cd01379 remove spam field
Closes #16862
2017-09-20 11:51:33 +01:00
Mike Jolley d0d73f55a8 Add target blank
Closes #16832
2017-09-15 16:48:25 -07:00
Manos Psychogyiopoulos d42fc93be7 Resolve undefined product notice in email-order-items.php 2017-09-11 13:45:00 +03:00
claudiulodro b083b3608d Bump template version 2017-09-08 09:41:46 -07:00
Mike Jolley a7b2ae8661 Update shipping code to see if full address has been entered before showing no shipping notice
Fixes #16757
2017-09-08 14:54:15 +01:00
Boro Sitnikovski 99642215aa Fix email notice missing variable 2017-09-06 09:25:02 +02:00
Mike Jolley 645fb01aa8 Correct colspan
Closes #16698
2017-09-04 18:14:40 +01:00
Boro Sitnikovski fef2aabadd Use order->get_id instead of undefined order_id 2017-08-31 16:25:35 +02:00
Ralf Wiechers 2fb700723f Sanitize the whole class name
Data should be sanitized in whole not in part. Therefore the class prefix should be inside the function call.
2017-08-29 12:32:32 +02:00
Bing-Sheng Chen 3042d7a19c Fix "Undefined index: callback" notice 2017-08-29 16:29:39 +08:00
Claudio Sanches a7b402b035 Removed extra end of lines 2017-08-10 13:08:30 -03:00
Mike Jolley 30a85e9f8d Merge branch 'pr/16036' 2017-08-09 10:11:20 +01:00
Mike Jolley c1544e443a Version and escape 2017-08-09 10:11:07 +01:00
Mike Jolley a97d3470db Merge branch 'master' into pr/16164
# Conflicts:
#	includes/class-wc-cache-helper.php
2017-08-08 13:12:37 +01:00
Mike Jolley 73eb086696 Merge branch 'pr/16165' 2017-08-08 13:10:16 +01:00
Mike Jolley 2f6aaa85bb Avoid using meta directly 2017-08-08 13:04:27 +01:00
Mike Jolley dc1c8843a1 Correct escaping 2017-08-07 12:39:08 +01:00
Jesse Ostrander e07dae3005 Fix typo in the global form-login.php 2017-08-06 12:40:54 -04:00
Jesse Ostrander 393abc9619 Fix typo in login-form.php template.
Woocomerce -> woocommerce
2017-08-06 12:16:46 -04:00
Mike Jolley 2b9c8677eb Passing by reference breaks global functions in grouped template
Fixes #16236
2017-08-01 08:44:16 +02:00
Daniel Rey Lopez e441205811 Fixes incorrect "name" property of the State <select> in the Shopping Cart page. 2017-07-26 11:01:17 +01:00
Mike Jolley 889a3cfdd5 Merge pull request #16111 from woocommerce/fix/15986
Improve tracking page validation
2017-07-25 21:04:16 +01:00
Mike Jolley 15c4910014 Fix notices 2017-07-25 21:03:37 +01:00
Paul Wilde b64d855d96 Introduce `wc_get_account_formatted_address` function which removes a bunch of logic outside of the my-account template file. 2017-07-18 15:18:53 +01:00
Paul Wilde 60bbb41be8 Introduce `wc_get_account_orders_actions` function to reduce the amount of logic inside the account orders template files. 2017-07-18 15:03:26 +01:00
terence1990 f93413920b Changed template name to receipt 2017-07-15 17:41:34 +01: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 ac4d2db43a Improve tracking page validation
Ensures error messages are vague but reflect the posted data.

Closes #15986
2017-07-13 14:50:30 +01:00
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
Terence O'Donoghue 8f6dc9588c Fixed reference to deprecated WC_Order properties 2017-07-11 09:57:56 +01:00
Terence O'Donoghue c5a75a5442 Use ::get_payment_method_title 2017-07-11 09:51:11 +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
Mike Jolley cd4e23a864 Use correct classnames and tidy 2017-04-27 17:32:36 +01:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley 5f63f81b72 Merge branch 'add/inline-terms'
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-04-27 12:37:46 +01:00
Mike Jolley 115da407c0 Correct notice 2017-04-27 12:34:20 +01:00
Mike Jolley d546613c25 Merge branch 'pr/14394'
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-04-27 11:53:08 +01:00
Mike Jolley 13a610d1d8 Merge branch 'pr/14612' 2017-04-26 13:26:26 +01:00
Mike Jolley 13bc235020 Bump template version and move to correct function files. 2017-04-26 13:25:14 +01:00
Mike Jolley 1e6d52a3bd Add a data-caption for captions and keep title around.
Fixes #14578
2017-04-25 14:31:24 +01:00
Claudio Sanches 1314b6845e Merge pull request #14432 from emgk/fix-14428
added new filter for product thumbnail size.
2017-04-24 21:05:27 -03:00
mdrahul c6bc8f7836 Fix Cart Empty message, ref #14519 2017-04-22 11:09:17 +05:30
Theme.al 79d3291ba5 Hook comments for each action on template files
As i'm working with my theme i have found difficult to keep track of all actions and hooks, i think all actions should be commented with their respective hooks like you have already done on archive-product.php
2017-04-20 09:48:36 +02:00
Mike Jolley cffe326e0e Add variable so shipping calculator is shown on first row
Ref: #14461
2017-04-17 16:35:33 +01:00
Mike Jolley df57e73eae use div for comment-form-rating to prevent bad nested markup due to star ratings
Fixes #14434
2017-04-17 12:23:43 +01:00
Govind Kumar fef8b8365b changed thumbnail image filter name 2017-04-17 15:43:17 +05:30
Govind Kumar d8f7deb92c added new filter for product thumbnail size. 2017-04-17 11:30:26 +05:30
refael iliaguyev 14806a4a6f Bump version for variable.php 2017-04-15 20:23:27 +03:00
AJ Clarke 3b09dc5793 Undo edits 2017-04-14 17:39:00 -07:00
AJ Clarke 3731d629f5 Undo product gallery mods 2017-04-14 17:37:54 -07:00
AJ Clarke e037635f18 Prevents duplicate thumbnail when featured image is added to the product gallery 2017-04-14 09:52:13 -07:00
Theme.al 969b0f4ee2 Notices hook information
Notices are hooked here on product archive pages but still im not sure if this is the right place. They should be above the page title probably in their own action like they are on the content-single-product.php template
2017-04-14 11:37:32 +02:00
Theme.al 52d56bed41 Update mini-cart.php
empty cart message should be outside of the cart UL list as of course its not a HTML list.
2017-04-14 11:01:18 +02:00
Claudio Sanches 3618cfa672 Bump cart/cart.php template version 2017-04-13 13:52:41 -03:00
Claudio Sanches daf8b3a39b Bump single-product/add-to-cart/grouped.php template version
Because fixes introduced in #14346
2017-04-13 12:33:21 -03:00
Claudio Sanches 00f01af0bd Merge pull request #14346 from rwilliam/patch-1
Group Child porduct link visiblity isuues - Update grouped.php
2017-04-13 12:31:58 -03:00
Claudio Sanches f2dc15d09b Merge pull request #14339 from rellect/cart_escape_attr
Escape attributes in cart.php
2017-04-13 12:20:56 -03:00
rwilliam 910588b91f Update grouped.php
Group child product link viable in main group product page if we set child product visibility to hidden 
if we change  $product->is_visible() to $grouped_product->is_visible() then it working fine
2017-04-13 19:05:13 +05:30
Refael Iliaguyev ec47a7b35f Escape attributes 2017-04-13 10:39:21 +03:00
Claudio Sanches d04e1f42ea Merge pull request #14251 from woocommerce/fix/gallery-titles
Fix caption on thumbnails as well as main image
2017-04-11 17:33:04 -03:00
Mike Jolley 2d973503ee Merge pull request #14204 from rafsuntaskin/version-bump
Version bump on templates that were updated on milestone 2.7 and 3.0
2017-04-11 19:34:39 +01:00
Mike Jolley 34f2c66333 Merge pull request #14237 from dixitadusara/update-issue-14178
Updated templates/checkout/form-shipping.php template version
2017-04-11 12:54:57 +01:00
Mike Jolley 98b21b6be7 Fix caption on thumbnails as well as main image 2017-04-11 12:08:04 +01:00
Mike Jolley 4f2a46e83a Merge pull request #14223 from woocommerce/fix/14218
Gallery images should show caption not description
2017-04-11 10:31:04 +01:00
dixitadusara f5d40ce16d updated templates/checkout/form-shipping.php template version ref #14178 2017-04-11 10:43:03 +05:30
Mike Jolley d89567f0e6 Gallery images should show caption not description
Fixes #14218
2017-04-10 22:38:16 +01:00
rafsuntaskin d2287521df several other templates version bump those have labels milestone 2.7 and 3.0 2017-04-10 21:34:35 +06:00
rafsuntaskin 41f20d84da view-order.php version bump, resolves #14183 2017-04-10 21:14:42 +06:00
dixitadusara 3f6d851500 form-shipping.php template has not updated the version number ref #14178 2017-04-10 14:25:55 +05:30
refael iliaguyev 6b0ea403f3 fix #14133 2017-04-08 15:18:54 +03:00
Claudio Sanches 9c61914a14 Merge pull request #14116 from woocommerce/fix/14114
Prevent notice in thumbnails html
2017-04-07 13:30:20 -03:00
Mike Jolley 2638f61a86 Prevent notice in thumbnails html
Fixes #14114
2017-04-07 17:05:28 +01:00
refael iliaguyev 3e0daa8215 Bump template versions for changes 2017-04-07 14:22:52 +03:00
Claudio Sanches 567a551d83 Fixed shortcode render for variations and backwards compatibility
Fixes #13949
2017-04-06 13:00:02 -03:00
Claudio Sanches f2fa4f127d Added context to string in result-count.php to make GlotPress catch
Missing this string on GlotPress, since the first part is equal from the
previous translatable string.
2017-04-06 11:07:48 -03:00
Claudio Sanches 3ce04d2bee Merge pull request #14024 from dixitadusara/issue-14016
fixes issue-14016
2017-04-06 10:42:33 -03:00
Claudio Sanches 49ce6bdda5 Merge pull request #14022 from dixitadusara/issue-14015
fixes issue-14015
2017-04-06 10:41:13 -03:00
Claudio Sanches 954c45d01c Merge pull request #14021 from dixitadusara/issue-14020
fixes added issue-14020
2017-04-06 10:40:58 -03:00
dixitadusara a0843e8bb9 fixes issue-14016 2017-04-06 16:26:21 +05:30
dixitadusara 205a9b6c24 fixes issue-14015 2017-04-06 15:52:34 +05:30
dixitadusara fe87815d8d fixes added issue-14020 2017-04-06 15:44:22 +05:30
Mike Jolley 41553930cd Template version bump
Closes #13988
2017-04-06 09:59:24 +01:00
Claudio Sanches f250cac8d1 Merge pull request #13967 from woocommerce/fix/13933
Use parent settings for determining if variations are sold individually.
2017-04-05 15:33:17 -03:00
Claudiu Lodromanean 5389844a1b Use parent data for sold_individually 2017-04-05 11:02:26 -07:00
Md. Kowsar Hossain 2bbf5ed42f version number updated in up-sells template 2017-04-05 18:26:23 +06:00
Mike Jolley 71ce5b85bc Merge pull request #13884 from woocommerce/fix-13875-13877
Private and variable product fixes
2017-04-03 19:16:35 +01:00
Manos Psychogyiopoulos d4c58588fd Fix unnecessary margin in #13879 2017-04-03 15:03:32 +03:00
Mike Jolley c06fdc2e2e If product has_options, don't show qty in grouped product add to cart form
Fixes #13875
2017-04-03 12:05:28 +01:00
Manos Psychogyiopoulos bec1f9b113 Use `small` 2017-04-03 11:50:02 +03:00
Manos Psychogyiopoulos 196c317ab1 Fix order item meta e-mails style 2017-04-03 11:37:51 +03:00
Mike Jolley 62bd505bda CSS transition 2017-03-31 15:16:10 +01:00
Manos Psychogyiopoulos eb43190e1e Stripslashes of posted variation attribute values
Resolves issues with values that contain quotes, for instance.
2017-03-24 12:00:46 +02:00
Mike Jolley e8974f709d docblock
Closes #13740
2017-03-23 14:25:56 +00:00
terenceneedssurgery a86d4f62f3 Checkout: Order Pay to Template 2017-03-23 11:25:08 +00:00
Mike Jolley 47f363a463 data-src on all gallery images
#13710
2017-03-22 13:26:00 +00:00
Mike Jolley e2f1449553 Set data-src
Closes #13710
2017-03-22 12:51:27 +00:00
Claudio Sanches f1dab3fdce Fixed coding standards 2017-03-21 12:38:35 -03:00
refael iliaguyev e13ba40254 use variable for aligning 2017-03-20 22:26:20 +02:00
refael iliaguyev af55947f87 Revert "Drop repeated conditions for rtl aligning, use variable instead"
This reverts commit a894e7b241.
2017-03-20 22:21:44 +02:00
refael iliaguyev a894e7b241 Drop repeated conditions for rtl aligning, use variable instead 2017-03-20 20:53:16 +02:00
refael iliaguyev 6aed418b6f replace hard coded aligning with rtl conditions 2017-03-19 22:23:18 +02:00
Mike Jolley 476041698f tabs 2017-03-17 11:27:23 +00:00
Krzysztof Grabania b1af09c550 Hide Customer details section in email if $fields are empty 2017-03-16 14:02:19 +01:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Mike Jolley d55653a408 Merge branch 'master' into fix-13498
# Conflicts:
#	includes/class-wc-order.php
#	tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Mike Jolley 448954b9ad Merge pull request #13592 from woocommerce/13572-prototype-pattern
Reusable galleries
2017-03-14 18:26:22 +00:00
Mike Jolley 1a2989376d Revert "Remove clear divs from address forms"
This reverts commit 4f8030aafb.
2017-03-14 17:32:04 +00:00
Mike Jolley 1b8e4612ee Load markup for photoswipe so shortcodes can use it 2017-03-14 16:32:59 +00:00
Manos Psychogyiopoulos 20d2c8b269 merge branch 'master' into multiple-and-dynamic-galleries 2017-03-14 15:31:01 +02:00
Mike Jolley 4f8030aafb Remove clear divs from address forms
#13583
2017-03-14 11:19:59 +00:00
Manos Psychogyiopoulos 9181f1c151 allow init with args 2017-03-14 12:55:25 +02:00
James Koster 53b7844412 Replace figure tags with divs. closes #13546
For easier theme support
2017-03-14 10:42:21 +00:00
Claudio Sanches ad1073c212 Merge pull request #13575 from woocommerce/fix-13573
Only show thumbs if there is a main post thumbnail
2017-03-13 16:25:48 -03:00
Mike Jolley ee0896a7ec Only show thumbs if there is a main post thumbnail 2017-03-13 18:04:43 +00:00