[wp-trac] [WordPress Trac] #19121: Add filter to wp_unique_filename
WordPress Trac
noreply at wordpress.org
Sun Jan 10 01:57:42 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 | Focuses:
----------------------------+------------------
Changes (by johnbillion):
* keywords: has-patch commit => has-patch
Comment:
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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19121#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list