[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 11:08:42 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 rvavruch):

 At the moment - unless I missed something - the only way to attach an
 image as a featured image through XML-RPC is by setting _thumbnail_id in
 the metaWeblog.newPost custom_fields parameter.

 Should we open a new ticket to add a better method of setting the featured
 image?

 It would be ideal if we could add the data required by
 "metaWeblog.newMediaObject" to a metaWeblog.newPost setting that as the
 featured image. That may break some standard though.

 As it currently stands, the patch uploaded is a tiny change which solves
 the issue with the system as is.

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


More information about the wp-trac mailing list