mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user