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
This commit is contained in:
Sergey Biryukov
2022-02-12 14:43:08 +00:00
parent 6f4bb2fbeb
commit 5ae294022c

View File

@@ -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 {