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

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 19 02:48:04 UTC 2010


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

Comment(by ericmann):

 Taking a look at the actual post format definitions, it's hard-coded as
 `[0] => _x('Default', 'Post format')` ... so I'm going to leave the
 response from `wp.getPostFormats` as-is to reflect that.

 The `metaWeblog.getPost` method is behaving as it should.  If the
 `wp_post_format` value is empty, then it's the default format - if the
 post format is not explicitly set, it is empty and "default" is assumed.

 However, I will make it so that `metaWeblog.newPost` and
 `metaWeblog.editPost` will accept "default" as an acceptable value.

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


More information about the wp-trac mailing list