Commit Graph

1962 Commits

Author SHA1 Message Date
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