[wp-trac] [WordPress Trac] #15405: Extend Post Format support to the XML-RPC API

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 13 03:18:06 UTC 2010


#15405: Extend Post Format support to the XML-RPC API
-------------------------+--------------------------------------------------
 Reporter:  ericmann     |       Owner:  ericmann 
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.1      
Component:  XML-RPC      |     Version:  3.1      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------
Changes (by ericmann):

  * keywords:  needs-patch => has-patch


Comment:

 The above patch adds the `wp_post_format` as an input parameter for the
 post struct in the following methods:

  - metaWeblog.newPost
  - metaWeblog.editPost

 If `wp_post_format` is not defined in a create/edit post request it's
 ignored.

 The patch adds the same as a return parameter for the post struct in the
 following methods:

  - metaWeblog.getPost
  - metaWeblog.getRecentPosts

 Finally, this patch adds a new method for retrieving a list of supported
 post formats (slug and name): `wp.getPostFormats`.  This new method
 follows the `blog_ID`, `username`, `password` request format of existing
 method calls (though `blog_ID` doesn't seem to be used anywhere, it's
 added here for the same of consistency).

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


More information about the wp-trac mailing list