[wp-trac] [WordPress Trac] #19629: return option for media_sideload_image
WordPress Trac
noreply at wordpress.org
Mon Apr 14 14:22:23 UTC 2014
#19629: return option for media_sideload_image
---------------------------------+-----------------------------
Reporter: slbmeh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 3.3
Severity: minor | Resolution:
Keywords: has-patch 3.7-early | Focuses:
---------------------------------+-----------------------------
Comment (by mattheu):
+1 on this - would be super useful. I like Nacins suggestion is good and I
tested 19629.3.diff by trepmal which still works well.
I have updated the patch to deprecate media_sideload_image, and updated
the press this function make use of `media_handle_sideload` directly.
I am also using `wp_get_attachment_image` rather than outputting its own
custom HTML - it seems nicer to me as it adds correct classes and
width/height attributes.
Was flagged for 3.6-early, then 3.7-early. Any other concerns blocking
this ticket?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19629#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list