We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ab8ced commit a541f2eCopy full SHA for a541f2e
1 file changed
src/wp-includes/functions.php
@@ -1873,8 +1873,8 @@ function wp_check_filetype( $filename, $mimes = null ) {
1873
*
1874
* @since 3.0.0
1875
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)
+ * @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)
1878
* @param array $mimes Optional. Key is the file extension with value as the mime type.
1879
* @return array Values for the extension, MIME, and either a corrected filename or false if original $filename is valid
1880
*/
0 commit comments