#6462 closed defect (bug) (fixed)
Bug with search in users.php when user not found
| Reported by: | bl968 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5.1 |
| Component: | Administration | Version: | 2.5.1 |
| Severity: | major | Keywords: | Administration, user management, search has-patch |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch attached. Moved the </form> outside of the if statement.