[wp-trac] [WordPress Trac] #28961: Interim login modal sets focus on the wrong input
WordPress Trac
noreply at wordpress.org
Tue Sep 2 01:48:28 UTC 2014
#28961: Interim login modal sets focus on the wrong input
------------------------------------+-----------------------------
Reporter: johnbillion | Owner: SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.0
Component: Login and Registration | Version: trunk
Severity: minor | Resolution:
Keywords: dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
Replying to [comment:4 nacin]:
> IIRC, sometimes the interim login has the username already. In this
case, we might end up focusing on the username field with a username
already present. If my recollections are correct, can we make this smarter
and focus on the password field when the username isn't empty?
Unless I'm missing something, that's how it should work currently. A non-
empty `$user_login` means the username field is not empty. I looked for
places where it could be set by JS, and didn't find anything.
That said, [attachment:28961.patch] looks good to me as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28961#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list