WordPress.org

Make WordPress Core

Ticket #20311: wp_unique_filename_docblock.diff

File wp_unique_filename_docblock.diff, 477 bytes (added by transom, 3 years ago)

Update docblock for wp_unique_filename

  • functions.php

     
    15041504 * unique. 
    15051505 * 
    15061506 * The callback is passed three parameters, the first one is the directory, the 
    1507  * second is the filename, and the third is the extension. 
     1507 * second is the filename, and the third is an optional supplied callback for  
     1508 * to generate a unique file name. 
    15081509 * 
    15091510 * @since 2.5.0 
    15101511 *