Skip to content

Commit 053c3a7

Browse files
General: Remove unused variable in wp_unique_filename().
Follow-up to [51653]. Props Soean. Fixes #64675. git-svn-id: https://develop.svn.wordpress.org/trunk@61710 602fd350-edb4-49c9-b593-d223f7449a82
1 parent dbf8614 commit 053c3a7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/wp-includes/functions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2556,7 +2556,6 @@ function _wp_upload_dir( $time = null ) {
25562556
function wp_unique_filename( $dir, $filename, $unique_filename_callback = null ) {
25572557
// Sanitize the file name before we begin processing.
25582558
$filename = sanitize_file_name( $filename );
2559-
$ext2 = null;
25602559

25612560
// Initialize vars used in the wp_unique_filename filter.
25622561
$number = '';

0 commit comments

Comments
 (0)