WordPress.org

Make WordPress Core

Ticket #20311: 20311-1.diff

File 20311-1.diff, 508 bytes (added by jkudish, 6 years ago)

amended the original patch

  • wp-includes/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
     1508 * to generate a unique file name.
    15081509 *
    15091510 * @since 2.5.0
    15101511 *