[wp-trac] Re: [WordPress Trac] #5579: XMLRPC Authentication

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 4 19:40:56 GMT 2008


#5579: XMLRPC Authentication
--------------------------+-------------------------------------------------
 Reporter:  PhoenixRises  |        Owner:  anonymous
     Type:  defect        |       Status:  new      
 Priority:  normal        |    Milestone:  2.5      
Component:  XML-RPC       |      Version:           
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by brianlayman):

 See this patch fixes actually allows you to do that.  It keeps XMLRPC
 working the way it does now and provides full backwards compatiblity with
 the current WordPress but it also allows you to put user_pass_ok into the
 my-hacks.php or whereever you keep your customizations.

 If you want to put a routine in that calls wp_login that's fine but
 there's a lot of stuff in wp_login that may not be appropriate to an xml
 connection.  Is the "password field is empty" error appropriate?  How much
 cookie stuff is dragged into the mix that isn't needed?  I suspect
 wp_login is way heavier than is actually needed by a blogging too and that
 that's why it wasn't originally used.

 But as I said, with this patch, you can now write code that allows you to
 make that call... if you want to.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5579#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list