[wp-trac] [WordPress Trac] #64675: Cleanup: remove unused variable $ext2 in wp_unique_filename function
WordPress Trac
noreply at wordpress.org
Fri Feb 20 09:46:32 UTC 2026
#64675: Cleanup: remove unused variable $ext2 in wp_unique_filename function
--------------------------+-----------------------------
Reporter: Soean | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The usage of `$ext2` in `wp_unique_filename()` was removed in
https://core.trac.wordpress.org/changeset/51653
So we can remove this initialisation.
{{{#!php
<?php
$ext2 = null;
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64675>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list