[wp-trac] [WordPress Trac] #54609: wp_unique_filename issue/bug
WordPress Trac
noreply at wordpress.org
Wed Jun 15 13:54:27 UTC 2022
#54609: wp_unique_filename issue/bug
--------------------------------------+------------------------
Reporter: ultravibe | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version:
Severity: major | Resolution: duplicate
Keywords: needs-patch dev-feedback | Focuses:
--------------------------------------+------------------------
Changes (by antpb):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Hi @ultravibe ! This ticket was discussed last week and it seems there is
an existing ticket that provides a workaround:
https://core.trac.wordpress.org/ticket/50587
If you ever want to skip a path @joedolson provided a snippet in the
meeting that may help you
`add_filter( 'pre_wp_unique_filename_file_list', function() { return
array(); } );`
I am going to close this out in favor of the existing ticket at #50587 but
feel free to open again if this is different.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54609#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list