[wp-trac] [WordPress Trac] #19121: Add filter to wp_unique_filename
WordPress Trac
noreply at wordpress.org
Thu Dec 3 18:11:36 UTC 2015
#19121: Add filter to wp_unique_filename
----------------------------+------------------------------
Reporter: xazure | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version: 2.5
Severity: major | Resolution:
Keywords: has-patch | Focuses:
----------------------------+------------------------------
Comment (by jtrobinson):
Any movement on this? We are using a system that offloads the files from
the server to cloud storage after a week. Files uploaded after that with
the same name as previous ones are colliding. It is more imperative that
we be able to do a global check whenever attachments are added (uploaded
or sideloaded) that we be able to check if the file exists in cloud
storage as well. A filter in wp_unique_filename would allow plugins or
themes to do that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19121#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list