[wp-trac] [WordPress Trac] #15098: Can't add post with featured image using only XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 12 17:04:26 UTC 2010
#15098: Can't add post with featured image using only XML-RPC
-------------------------+--------------------------------------------------
Reporter: rvavruch | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by josephscott):
At a conceptual level I think this does much better being part of the
metaWeblog.(new|edit)Post. Adding support for a 'featured_image' field
would be enough. The post_id isn't a problem, check out the mw_newPost
function, you'll see that we wait until after the new post has been
created to process sticky options since those also require a valid
post_id.
The data could then be exposed via the 'featured_image' field from
metaWeblog.getPost.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15098#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list