Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#44358 new enhancement

Unable to search a user if username is an email address

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

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
8 years ago

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