Opened 6 months ago

Last modified 6 months ago

#22516 closed defect (bug)

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

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

Description

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)

barry6 months ago

Note: See TracTickets for help on using tickets.