[wp-trac] [WordPress Trac] #24336: XML RPC arguments for wp.getPosts are invalid

WordPress Trac noreply at wordpress.org
Wed May 15 07:26:12 UTC 2013


#24336: XML RPC arguments for wp.getPosts are invalid
--------------------------+----------------------
 Reporter:  bduffez       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  XML-RPC       |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------

Comment (by bduffez):

 Well, it appears that I was a bit mistaken in my queries to the server, I
 apologize.
 Indeed, when using the appropriate XML query, the array is:

 {{{
 (
     [0] => 1
     [1] => foo
     [2] => bar
     [3] => Array
         (
             [post_type] => page
         )

 )
 }}}

 which is expected.
 What I have yet to figure now, is why the server replies with HTTP 401, I
 guess it is because XML RPC expects the user to have writing rights, which
 is not the case because I want to create a read-only client.

 However, I would like to thank you for the very quick support, and
 apologize again for the wrong bug report.

 Cheers,
 Benoit

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


More information about the wp-trac mailing list