Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#17719 closed defect (bug) (fixed)

users.php sets search term to **

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

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

  • Description modified (diff)

#2 @ryan
14 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [18179]:

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

Note: See TracTickets for help on using tickets.