Commit Graph

92 Commits

Author SHA1 Message Date
Mike Jolley ff61a4ab73 __ -> esc_html__ 2019-04-23 16:15:05 +01:00
Mike Jolley a4f2446350 Merge branch 'pr/23186' 2019-04-16 14:43:05 +01:00
Zacchaeus 5f0eb2d312
Update label and remove aria-labelledby 2019-04-01 16:32:23 +01:00
Zacchaeus a107fe6be2
Update if condition 2019-04-01 13:31:27 +01:00
Michael Silber 80d400b5ab Add quantity input action hooks 2019-03-28 20:18:46 -04:00
Mike Jolley 20b65a421c Merge branch 'pr/21454' 2019-01-31 16:30:27 +00:00
Mike Jolley 4952fbc475 Adjust both login templates 2019-01-31 16:28:32 +00:00
Mike Jolley 127965419b
Merge pull request #22333 from Prospress/fix/21607
fix W3C validation errors in quantity-input.php template
2019-01-09 11:26:48 +00:00
Mike Jolley dcdc7657c3 This is for 3.6 2019-01-08 15:00:34 +00:00
Mike Jolley eef05fafe9 update from master 2019-01-08 15:00:23 +00:00
Mike Jolley 2724fd76cd
Merge pull request #22017 from Bradley-D/feature/wpcs-inline-php
WPCS: inline PHP semicolon and spacing
2019-01-07 12:47:08 +00:00
Ron Rennick 38a7e77a44 fix W3C validation errors in quantity-input.php template 2019-01-03 14:05:43 -04:00
Bradley Davis e97204a483 Removed @author tag from docbloc in the template files 2018-12-06 12:13:39 -02:00
Bradley Davis 7481af8614 [ UPDATE ] inline PHP semicolon and spacing 2018-11-22 20:37:14 +10:00
Kathy Darling 5c722a32e8 Add support for custom classes on quantity input with new woocommerce_quantity_input_classes filter 2018-10-13 22:22:17 -05:00
Peter Fabian 80dc183880 Use nbsp to separate * denoting required fields. 2018-04-04 16:45:40 +02:00
michakrapp 7145b8f729 template global form-login autocomplete attributes 2018-03-19 08:53:53 +01: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
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
Caleb Burks 82c5975b37 Prevent duplicate IDs on checkout page 2017-12-17 22:43:51 -06: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
claudiulodro 6b514aaab8 Make underscores the default 2017-11-07 08:45:05 -08: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
claudiulodro c3689134d0 Underscores wrappers 2017-11-06 13:46:50 -08: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
Mike Jolley 3a17d48af2 Added screen reader text to quantity input template
Closes #16909
2017-09-26 12:05:09 +01:00
Jesse Ostrander e07dae3005 Fix typo in the global form-login.php 2017-08-06 12:40:54 -04: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 7fd4005475 Wrap hidden input in div
Closes #13541
2017-03-13 17:56:25 +00:00
Aristeides Stathopoulos 10ffc92a73 Inline control structures are not allowed 2017-03-07 22:24:24 +02:00
Mike Jolley 846e1ca25c If max and min value are identical, don't show qty input 2017-02-17 15:51:59 +00:00
James Koster 5b01bb693e Correct use of `--` in checkbox / checkbox label classes 2017-01-13 17:26:09 +00:00
James Koster f709d6be3c Standardise class names #12297 2016-11-17 11:51:54 +00:00
Claudio Sanches f201684917 Wrap checkbox label texts into span elements 2016-11-16 19:44:22 -02:00
Claudio Sanches 1939abf059 Updated use of labels for checkboxes 2016-11-09 22:41:14 -02:00
Aristeides Stathopoulos fde1037757 fix failing tests. 2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
James Koster ba009c6fc5 Fixes the layout on shop pages when using Twenty Eleven. closes #10665 2016-04-15 13:24:17 +01:00
Mike Jolley e9ff396348 Only add when using intval for stock amounts 2016-02-26 14:36:53 +00:00
Jon Koops 111b72c159 Add attributes to quantity input to show numeric keyboard on mobile devices.
This commit adds both a `pattern` attribute to restrict user's input to numerical characters, and the forwards compatible `inputmode` attribute to hint at the keyboard layout to use. These attributes combined make sure that the numerical keyboard shows instead of the normal keyboard on most mobile devices (tested on the latest versions of Android and iOS).

Possible Caveats:
- Due to the nature of the numeric keyboard on iOS it is impossible to add a decimal point.

Further Reading:
https://stackoverflow.com/questions/6178556/iphone-numeric-keyboard-for-text-input
https://www.smashingmagazine.com/2015/05/form-inputs-browser-support-issue/
http://danielfriesen.name/blog/2013/09/19/input-type-number-and-ios-numeric-keypad/
2016-02-25 17:48:06 +01:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
djenggoat 7d3e4b1778 mismatch end tag wrapper for twentysixteen
mismatch end tag wrapper end for WordPress twentysixteen templates/global/wrapper-end.php
2016-02-06 20:12:05 +08:00