Ticket #12824: 12824.001.diff
File 12824.001.diff, 619 bytes (added by , 15 years ago) |
---|
-
wp-includes/functions.php
2209 2209 $name = ''; 2210 2210 2211 2211 // Increment the file number until we have a unique file to save in $dir. Use $override['unique_filename_callback'] if supplied. 2212 if ( $unique_filename_callback && function_exists( $unique_filename_callback ) ) {2212 if ( $unique_filename_callback && is_callable( $unique_filename_callback ) ) { 2213 2213 $filename = $unique_filename_callback( $dir, $name ); 2214 2214 } else { 2215 2215 $number = '';