Make WordPress Core

Opened 7 years ago

Last modified 6 years ago

#44358 new enhancement

Unable to search a user if username is an email address

Reported by: subrataemfluence's profile subrataemfluence Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Users Keywords: 2nd-opinion
Focuses: administration Cc:

Description

If a user has an email address in his username, that user is not searched in admin user list page.

Steps to reproduce:

  • Create a new user and use an email address as the username, e.g. abc@gmail.com
  • Make sure no user on the system has an email address which contains abc@ in it
  • Search a user with abc@ keyword. No user will be returned.

I think since WordPress does not restrict the character @ in username, the search should include username field even when there is @ in search keyword.

Does this make any sense?

Change History (1)

#1 @pento
6 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.