[wp-trac] [WordPress Trac] #47924: Reset password: The submit button is enabled when the password input field is empty
WordPress Trac
noreply at wordpress.org
Fri Aug 23 10:15:05 UTC 2019
#47924: Reset password: The submit button is enabled when the password input field
is empty
------------------------------------+------------------------------
Reporter: henry.wright | Owner: adamsilverstein
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.3
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui
------------------------------------+------------------------------
Comment (by henry.wright):
Hi @adamsilverstein
The patch is looking good to me. What are your thoughts on adding an
additional password strength state?
I believe we have short, bad, good and strong currently. If we added an
''empty'' state we could make use of it in places:
{{{
if ( $( passStrength ).is( '.empty, .short, .bad' ) ) {
// Do something
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47924#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list