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 Version 1

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

Description (last modified by barry)

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 (2)

6 years ago

#1 @barry
6 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.