WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6462 closed defect (bug) (fixed)

Bug with search in users.php when user not found

Reported by: bl968 Owned by:
Milestone: 2.5.1 Priority: normal
Severity: major Version: 2.5.1
Component: Administration Keywords: Administration, user management, search has-patch
Focuses: Cc:

Description

When you do a search in the user administration script users.php and the user does not exist, When you try to do a new search wordpress gives an error because it seems to think that you are attempting to add a new user. This happens when you use the enter key or click on the search button.

Under view source, it's missing the </form> for the <form id="posts-filter" action="" method="get"> so treats it as an add user request.

Attachments (1)

6462.diff (282 bytes) - added by Nazgul 7 years ago.

Download all attachments as: .zip

Change History (4)

@Nazgul7 years ago

comment:1 @Nazgul7 years ago

  • Keywords has-patch added

Patch attached. Moved the </form> outside of the if statement.

comment:2 @markjaquith7 years ago

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

(In [7577]) Move user search </form> to correct position. props Nazgul and bl968. fixes #6462 for trunk

comment:3 @markjaquith7 years ago

(In [7578]) Move user search </form> to correct position. props Nazgul and bl968. fixes #6462 for 2.5.1

Note: See TracTickets for help on using tickets.