[wp-trac] [WordPress Trac] #55154: Typo in a comment in wp_get_image_mime()
WordPress Trac
noreply at wordpress.org
Sat Feb 12 13:59:08 UTC 2022
#55154: Typo in a comment in wp_get_image_mime()
----------------------------+----------------------------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: Media | Version:
Severity: trivial | Keywords: needs-patch good-first-bug
Focuses: docs |
----------------------------+----------------------------------------
There is a comment block in `wp_get_image_mime()`:
{{{
/*
* 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
* we assume the file could not be validated.
*/
}}}
"avaialbe" here should be "available".
Introduced in [39831] / #11946.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55154>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list