[wp-trac] [WordPress Trac] #21907: Allow custom errors on login when using XML-RPC

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 17 23:49:31 UTC 2012


#21907: Allow custom errors on login when using XML-RPC
-------------------------------------------------+-------------------------
 Reporter:  koke                                 |       Owner:  westi
     Type:  feature request                      |      Status:  accepted
 Priority:  normal                               |   Milestone:  3.5
Component:  XML-RPC                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  mobile westi-likes has-patch dev-    |
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by koke):

 Actually, the only reason I find not to return the errors directly, is
 that some errors from `wp_authenticate_username_password` return html
 instead of text only. We could, replace `invalud_username`,
 `invalid_password`, and `authentication_failed` by the current generic
 error, and convert everything else to an IXR_Error

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21907#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list