WordPress.org

Make WordPress Core

Ticket #25513: 25513.patch

File 25513.patch, 787 bytes (added by dimadin, 8 years ago)
  • wp-includes/functions.php

     
    18731873 *
    18741874 * @since 3.0.0
    18751875 *
    1876  * @param string $file Full path to the image.
    1877  * @param string $filename The filename of the image (may differ from $file due to $file being in a tmp directory)
     1876 * @param string $file Full path to the file.
     1877 * @param string $filename The filename of the file (may differ from $file due to $file being in a tmp directory)
    18781878 * @param array $mimes Optional. Key is the file extension with value as the mime type.
    18791879 * @return array Values for the extension, MIME, and either a corrected filename or false if original $filename is valid
    18801880 */