Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#17719 closed defect (bug) (fixed)

users.php sets search term to **

Reported by: ryan Owned by: ryan
Priority: normal Milestone: 3.2
Component: Users Version:
Severity: normal Keywords:
Cc: Focuses:

Description (last modified by ryan)

Due to [17189], "**" is passed to WP_User_Query() when the search terms are empty. This results in a query containing "(user_login LIKE '%%' OR user_nicename LIKE '%%')".

Change History (2)

#1 @ryan
15 years ago

  • Description modified (diff)

#2 @ryan
15 years ago

  • Owner set to ryan
  • Resolutionfixed
  • Status newclosed

In [18179]:

Don't add search wildcards to an empty string. fixes #17719

Note: See TracTickets for help on using tickets.