WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#17719 closed defect (bug) (fixed)

users.php sets search term to **

Reported by: ryan Owned by: 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)

comment:1 @ryan4 years ago

  • Description modified (diff)

comment:2 @ryan4 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.