[wp-trac] [WordPress Trac] #64675: Cleanup: remove unused variable $ext2 in wp_unique_filename function

WordPress Trac noreply at wordpress.org
Fri Feb 20 19:48:32 UTC 2026


#64675: Cleanup: remove unused variable $ext2 in wp_unique_filename function
--------------------------+-----------------------------
 Reporter:  Soean         |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  7.0
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61710" 61710]:
 {{{
 #!CommitTicketReference repository="" revision="61710"
 General: Remove unused variable in `wp_unique_filename()`.

 Follow-up to [51653].

 Props Soean.
 Fixes #64675.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64675#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list