[wp-trac] [WordPress Trac] #19121: Add filter to wp_unique_filename
WordPress Trac
noreply at wordpress.org
Tue Jan 12 08:36:10 UTC 2016
#19121: Add filter to wp_unique_filename
-------------------------------------+------------------
Reporter: xazure | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: Filesystem API | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+------------------
Changes (by swissspidy):
* keywords: has-patch => has-patch needs-refresh
Comment:
Replying to [comment:13 johnbillion]:
> There is a condition
[https://core.trac.wordpress.org/browser/tags/4.4.1/src/wp-
includes/functions.php?marks=1984#L1972 here] which returns early from
`wp_unique_filename()`. Does this value need to pass through the filter
too?
Yeah I think so.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19121#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list