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

git-svn-id: https://develop.svn.wordpress.org/trunk@25713 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-10-07 15:33:19 +00:00
parent 1ab8ced9d7
commit a541f2e31e
1 changed files with 2 additions and 2 deletions

View File

@ -1873,8 +1873,8 @@ function wp_check_filetype( $filename, $mimes = null ) {
*
* @since 3.0.0
*
* @param string $file Full path to the image.
* @param string $filename The filename of the image (may differ from $file due to $file being in a tmp directory)
* @param string $file Full path to the file.
* @param string $filename The name of the file (may differ from $file due to $file being in a tmp directory)
* @param array $mimes Optional. Key is the file extension with value as the mime type.
* @return array Values for the extension, MIME, and either a corrected filename or false if original $filename is valid
*/