Opened 9 months ago
Closed 9 months ago
#64675 closed defect (bug) (fixed)
Cleanup: remove unused variable $ext2 in wp_unique_filename function
| Reported by: | Soean | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description (last modified by )
The usage of $ext2 in wp_unique_filename() was removed in [51653].
So we can remove this initialisation.
<?php $ext2 = null;
Change History (3)
Note:
See TracTickets
for help on using tickets.
The usage of
$ext2inwp_unique_filename()was removed in https://core.trac.wordpress.org/changeset/51653So we can remove this initialisation.
Trac ticket: https://core.trac.wordpress.org/ticket/64675