Skip to content

Commit a541f2e

Browse files
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
1 parent 1ab8ced commit a541f2e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1873,8 +1873,8 @@ function wp_check_filetype( $filename, $mimes = null ) {
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 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
18801880
*/

0 commit comments

Comments
 (0)