Make WordPress Core

Changeset 25713


Ignore:
Timestamp:
10/07/2013 03:33:19 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Correct phpdoc for wp_check_filetype_and_ext(). props dimadin. fixes #25513.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r25632 r25713  
    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 name 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
Note: See TracChangeset for help on using the changeset viewer.