Opened 16 years ago
Closed 16 years ago
#7130 closed enhancement (fixed)
New wp.getUsersBlogs XML-RPC method
Reported by: | josephscott | Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.5.1 |
Component: | XML-RPC | Keywords: | has-patch |
Focuses: | Cc: |
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.
(In [8075]) wp.getUsersBlogs from josephscott. fixes #7130