[wp-trac] [WordPress Trac] #48164: media_sideload_image should store original URL and optionally check for dupes

WordPress Trac noreply at wordpress.org
Sat Sep 28 14:42:12 UTC 2019


#48164: media_sideload_image should store original URL and optionally check for
dupes
-------------------------+-----------------------------
 Reporter:  dshanske     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 When sideloading a file from a URL, using media_sideload_image, the
 original URL should be stored as metadata automatically.

 The reason for this to be done in Core, as opposed to a plugin, is that
 the reason why individuals use media_sideload_image is to store a local
 copy of a file. It should, for copyright and fairness reasons, store where
 it was originally hosted.

 The secondary advantage is the sideload can query existing attachments and
 not sideload the same file twice.

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


More information about the wp-trac mailing list