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

WordPress Trac noreply at wordpress.org
Tue May 9 23:25:58 UTC 2017


#19629: return option for media_sideload_image
----------------------------------------+---------------------------
 Reporter:  slbmeh                      |       Owner:  mikeschroder
     Type:  enhancement                 |      Status:  closed
 Priority:  normal                      |   Milestone:  4.8
Component:  Media                       |     Version:  3.3
 Severity:  minor                       |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+---------------------------
Changes (by mikeschroder):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40597"]:
 {{{
 #!CommitTicketReference repository="" revision="40597"
 Media: Optionally return attachment id from `media_sideload_image()`.

 Introduces option to `$return` parameter to return the attachment id
 created after a successful image sideload.

 Props slbmeh, kawauso, alexkingorg, SergeyBiryukov, georgestephanis,
 DrewAPicture, nacin, trepmal, mattheu, kraftbj, whyisjake, dotancohen,
 MrGregWaugh, danielbachhuber.
 Fixes #19629.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19629#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list