Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#22516 closed defect (bug)

wp_authenticate_username_password() should check for a WP_Error object — at Initial Version

Reported by: barry Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch
Focuses: Cc:


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.

Change History (1)

6 years ago

Note: See TracTickets for help on using tickets.