WordPress.org

Make WordPress Core

Opened 20 months ago

Last modified 20 months 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)

barry20 months ago

comment:1 barry20 months ago

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