[wp-trac] [WordPress Trac] #27141: XML-RPC API does not accept login parameters.

WordPress Trac noreply at wordpress.org
Mon Feb 17 03:02:38 UTC 2014


#27141: XML-RPC API does not accept login parameters.
---------------------------+----------------------
 Reporter:  lucasdaddiego  |       Owner:
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  XML-RPC        |     Version:
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |     Focuses:
---------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * version:  3.8.1 =>
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Howdy lucasdaddiego,

 From your bug report, it sounds like you're specifying the parameters to
 the API as an associative array, for example, like this:
 {{{
 request: {
   blog_id: 1
   username: dd32
   password: mysupersecretpassword
   payload_fields: xxxx
 }
 }}}

 The base fields, including the credentials, are however root elements,
 they have no field name, for example:
 {{{
 request: [
   1,
   dd32,
   mysupersecretpassword,
   payload_data_here
 ]
 }}}

 I hope this helps get you on track, I'm marking this as invalid, but
 you're free to reply without needing to re-open it.

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


More information about the wp-trac mailing list