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 */