[wp-trac] [WordPress Trac] #33879: Return image ID from media_sideload_image function

WordPress Trac noreply at wordpress.org
Tue Sep 15 13:28:23 UTC 2015


#33879: Return image ID from media_sideload_image function
-------------------------+-----------------------------
 Reporter:  arkimedia    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:  4.3
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 `media_sideload_image` function is missing an option to return image ID,
 which is often needed instead of html or source link.

 (In fact, both of the current return options could be genereted from ID by
 using other core functions)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33879>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list