[wp-trac] [WordPress Trac] #19629: return option for media_sideload_image

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 5 20:47:20 UTC 2012


#19629: return option for media_sideload_image
-------------------------+------------------------------
 Reporter:  slbmeh       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.3
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 alexkingorg]:
 > Without this change, it is difficult to implement the following
 functionality while utilizing core functions:
 >
 > 1. sideload an image
 > 2. set the image as the featured images for the post

 Had to reimplement `media_sideload_image()` a couple of times for this
 exact use case.

 The approach in [attachment:wp-sideload-media-id-ak.diff] makes sense to
 me.

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


More information about the wp-trac mailing list