Make WordPress Core

Opened 8 weeks ago

Last modified 8 weeks ago

#52915 accepted defect (bug)

Replace unknown user login text with something more readable

Reported by: dd32 Owned by: SergeyBiryukov
Milestone: 5.8 Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords:
Focuses: ui-copy Cc:


The error text when you attempt to login with an invalid username isn't very clear:

Unknown username. Check again or try your email address.

"Check Again"? Check what? "Check your email"?

Unlike with an incorrect password (or empty password), the username is also not prefilled which leads to more confusion as the end-user cannot even see that they typo'd their username.

As this is an error message that's intended to be displayed to end-users more often than others, I would suggest that this error message should be far more helpful.

Perhaps something like:

Username Unknown. The username <strong>admin</strong> is not registered on this site. If you're unsure of your username, you can attempt to login using your email address instead.

Attachments (1)

Screen Shot 2021-03-26 at 12.47.37 pm.png (274.4 KB) - added by dd32 8 weeks ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
8 weeks ago

  • Milestone changed from Awaiting Review to 5.8
  • Owner set to SergeyBiryukov
  • Status changed from new to accepted

It looks like the message was improved in [46417] / #43037, but could still use some further clarification.

Let's start by reinstating the "Error:" prefix for consistency. Related: #52914.

#2 @SergeyBiryukov
8 weeks ago

In 50589:

Login and Registration: Restore the "Error:" prefix for the "Unknown username" message.

This makes the message more consistent with other error messages related to authentication and registration.

Follow-up to [46417].

Props dd32.
See #52914, #52915.

Note: See TracTickets for help on using tickets.