Opened 13 years ago
Closed 13 years ago
#22516 closed defect (bug) (duplicate)
wp_authenticate_username_password() should check for a WP_Error object
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Users | Keywords: | has-patch |
| Focuses: | Cc: |
Description (last modified by )
wp_authenticate_username_password() needs to check to make sure $user is not a WP_Error object early on. It's possible that something hooked into authenticate earlier than wp_authenticate_username_password() and has already returned an error.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
This looks like the same issue as #19714. Mostly the same patch as well. Carry the discussion there?