[wp-xmlrpc] API support for post formats?

Eric Mann eric at eam.me
Sat Nov 13 16:56:56 UTC 2010


Thanks for the catches.  Those were both typos, and I've fixed both in the
newest patch.

wp_set_post_format() should have been wp_set_post_terms() ... Using the
set_post_format() method from this patch as an example:
http://core.trac.wordpress.org/attachment/ticket/14746/14746.6.diff

On Sat, Nov 13, 2010 at 8:30 AM, Joseph Scott <joseph at josephscott.org>wrote:

> On Sat, Nov 13, 2010 at 8:53 AM, Eric Mann <eric at eam.me> wrote:
> > I've now submitted a patch for #15405.  It adds support for a
> > 'wp_post_format' parameter in metaWeblog.newPost, metaWeblog.editPost,
> > metaWeblog.getPost, and metaWeblog.getRecentPosts.  It also adds a new
> > wp.getPostFormats method to return an array of supported post formats for
> a
> > site.
>
> Took a quick scan of the diff (haven't actually tried it yet) and
> noticed a couple of things:
>
>    do_action('xmlrpc_call', 'wp.GetPostFormats');
>
> should probably be
>
>    do_action('xmlrpc_call', 'wp.getPostFormats');
>
> What is wp_set_post_format()?  I couldn't find any reference to it in
> -trunk.
>
>
>
>
> --
> Joseph Scott
> joseph at josephscott.org
> http://josephscott.org/
> _______________________________________________
> wp-xmlrpc mailing list
> wp-xmlrpc at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-xmlrpc/attachments/20101113/c155753e/attachment.htm>


More information about the wp-xmlrpc mailing list