Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#6462 closed defect (bug) (fixed)

Bug with search in users.php when user not found

Reported by: bl968's profile 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 16 years ago.

Download all attachments as: .zip

Change History (4)

@Nazgul
16 years ago

#1 @Nazgul
16 years ago

  • Keywords has-patch added

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

#2 @markjaquith
16 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

#3 @markjaquith
16 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.