Ticket #7130 (closed enhancement: fixed)

Opened 3 months ago

Last modified 3 months ago

New wp.getUsersBlogs XML-RPC method

Reported by: josephscott Assigned to: anonymous
Priority: normal Milestone: 2.6
Component: XML-RPC Version: 2.5.1
Severity: normal Keywords: has-patch
Cc: josephscott

Description

Blog clients that make use of the blogger.getUsersBlogs XML-RPC method get confused when talking with WordPress (specifically, WPMU). See http://joseph.randomnetworks.com/archives/2008/06/10/blog-id-in-wordpress-and-xml-rpc-blog-apis/ for details.

The wp.getUsersBlogs method is basically the same thing as the blogger.getUsersBlogs, with an additional field: xmlrpc. In the case of regular WP it just calls blogger.getUsersBlogs, since there's only one blog to report any way. For WPMU it will report the list of blogs the user has access to.

While here, I added the xmlrpc field to blogger.getUsersBlogs. If clients know to use that field then they should also know not to make assumptions about blog_id that don't hold true in WordPress.

Attachments

xmlrpc.php.diff (2.0 kB) - added by josephscott on 06/12/08 18:08:14.

Change History

06/12/08 18:08:14 changed by josephscott

  • attachment xmlrpc.php.diff added.

06/12/08 21:41:18 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [8075]) wp.getUsersBlogs from josephscott. fixes #7130