[wp-trac] [WordPress Trac] #19629: return option for media_sideload_image
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 21 09:14:50 UTC 2011
#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 | Keywords:
-------------------------+-----------------------------
An optional parameter to return the attachment id opposed to the html
would be beneficial to those attempting to make use of this functionality
outside of press this.
Ticket: #11993 has an enhancement suggestion to allow adding thumbnails
from URL. I have written a solution for this enhancement, and the result
duplicates the functionality of media_sideload_image() setting the post
thumbnail opposed to returning the image html markup.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19629>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list