WordPress.org

Make WordPress Core

Ticket #19121: 19121.2.patch

File 19121.2.patch, 359 bytes (added by SergeyBiryukov, 2 years ago)

With $ext

  • wp-includes/functions.php

     
    15571557                } 
    15581558        } 
    15591559 
    1560         return $filename; 
     1560        return apply_filters( 'wp_unique_filename', $filename, $ext, $dir, $unique_filename_callback ); 
    15611561} 
    15621562 
    15631563/**