Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#22309 closed enhancement (duplicate)

user search should match display_name and user_email too by default

Reported by: magnus78's profile magnus78 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch
Focuses: Cc:


When searching for users from the dashboard it's not always possible to find users even if you know their display name, which is really frustrating.

Please allow matching on display_name and user_email too.

Attachments (1)

trac22309_search_users_by_displayname.patch (590 bytes) - added by magnus78 12 years ago.
proposed fix

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#2 @magnus78
12 years ago

If we worry about speed of large networks i don't see why we wouldn't just add an index for these too?

ALTER TABLE users ADD KEY (user_email);
ALTER TABLE users ADD KEY (display_name);

Note: See TracTickets for help on using tickets.