From 5ae294022c6db0cb1291178188567d5ba5da9289 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 12 Feb 2022 14:43:08 +0000 Subject: [PATCH] Docs: Fix typo in a comment in `wp_get_image_mime()`. Follow-up to [39831]. Props dilipbheda. Fixes #55154. git-svn-id: https://develop.svn.wordpress.org/trunk@52719 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 18ce7c2fec..82b19ec8f1 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -3237,7 +3237,7 @@ function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) { function wp_get_image_mime( $file ) { /* * Use exif_imagetype() to check the mimetype if available or fall back to - * getimagesize() if exif isn't avaialbe. If either function throws an Exception + * getimagesize() if exif isn't available. If either function throws an Exception * we assume the file could not be validated. */ try {