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

WordPress Trac noreply at wordpress.org
Sun Mar 6 11:07:00 UTC 2016


#31686: wp_authenticate_username_password() should check for a WP_Error object
-------------------------------+------------------------------
 Reporter:  kwisatz            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Security           |     Version:  3.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by extendwings):

 Replying to [comment:1 kwisatz]:
 > the Login form should also display the WP_Error returned by plugins
 hooking into authenticate
 It seems the WP_Error contents from plugins are displayed by
 [https://github.com/WordPress/WordPress/blob/27e29666a8737a652092e3f32f1f2cdac563e7ac
 /wp-login.php#L177-L209 this code]. (Sorry if I'm missing something.)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31686#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list