[wp-trac] [WordPress Trac] #43037: Login error message "Invalid username. Lost your password?" is confusing

WordPress Trac noreply at wordpress.org
Fri Sep 13 13:56:16 UTC 2019

#43037: Login error message "Invalid username. Lost your password?" is confusing
 Reporter:  afercia                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.3
Component:  Login and Registration               |     Version:  2.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch has-copy-  |     Focuses:  ui,
  review 2nd-opinion                             |  accessibility

Comment (by ryokuhi):

 I agree with @afercia on pretty everything.

 A couple more points worth noting to me.

 1) In order to login, apart from the password, users need to know either
 the username or the email address. As long as they remember their
 password, they can find both the username and the password in their
 profile page. As such, users don't really need the email with the password
 reset link, not even to retrieve their username.

 2) In my experience, the most common cause for a wrong username or email
 address is a typo. As such, the first advice a user should get is simply
 to try again. This is how I would rephrase error messages:
 ERROR: Invalid username. Try again, you can also use your email address.
 ERROR: Invalid email address. Try again, you can also use your username.
 with no links to other pages. Such lines of text should be easily
 understandable to all and are quite short, so they don't break the UI.

 I can rewrite the patch if needed.

Ticket URL: <https://core.trac.wordpress.org/ticket/43037#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list