[wp-trac] [WordPress Trac] #37111: Improve handling of files without extensions
WordPress Trac
noreply at wordpress.org
Fri Jun 17 14:04:30 UTC 2016
#37111: Improve handling of files without extensions
--------------------------------------+------------------------------
Reporter: joemcgill | Owner: joemcgill
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by joemcgill):
Replying to [comment:2 swissspidy]:
> Would this result in unnamed-file.jpg, unnamed-file-2.jpg, etc.?
Good question. It will indeed since this function is called from within
`wp_unique_filename()`, where incrementing duplicate file names is
handled.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37111#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list