wp_authenticate_username_password() should check for a WP_Error object
|Reported by:||barry||Owned by:|
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 (4)
comment:2 SergeyBiryukov — 16 months ago
- Component changed from General to Users
- Keywords has-patch added
Note: See TracTickets for help on using tickets.