[wp-trac] [WordPress Trac] #22516: wp_authenticate_username_password() should check for a WP_Error object

WordPress Trac noreply at wordpress.org
Tue Nov 20 17:31:55 UTC 2012


#22516: wp_authenticate_username_password() should check for a WP_Error object
-----------------------------+--------------------------
 Reporter:  barry            |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22516>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list