[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 19:07:40 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                                       |
-------------------------------------------------+-------------------------
Changes (by JustinSainton):

 * keywords:  mobile needs-patch westi-likes => mobile westi-likes has-patch
     dev-feedback


Comment:

 I'm not really familiar with XML-RPC, but would love to learn more.  If I
 understand the issue properly, perhaps this simple patch would suffice?
 Filter the user object to return a WP_Error object and then filter the
 error message.  Let me know if this is even a proper direction.

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


More information about the wp-trac mailing list