From a541f2e31ecd0bf669db9134db7e2de9698745fd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 7 Oct 2013 15:33:19 +0000 Subject: [PATCH] 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 --- src/wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 744f2ee510..e7babc8bb2 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -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 */