[wp-trac] [WordPress Trac] #19629: return option for media_sideload_image
WordPress Trac
noreply at wordpress.org
Mon Jun 30 11:07:02 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):
Updated this to merge cleanly and add unit tests for
media_handle_sideload.
Tests for calling with either file url string or file array and when
passing URL that is 404.
Also fixed potential error by passing value returned by
`media_handle_sideload` directly to `wp_get_attachment_image`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19629#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list