Docs: Fix typo in a comment in `wp_get_image_mime()`.

Follow-up to [39831].

Props dilipbheda.
Fixes #55154.
Built from https://develop.svn.wordpress.org/trunk@52719


git-svn-id: http://core.svn.wordpress.org/trunk@52308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-02-12 14:45:00 +00:00
parent 1e1fb78c07
commit 77b1aa0cf3
2 changed files with 2 additions and 2 deletions

View File

@ -3237,7 +3237,7 @@ function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) {
function wp_get_image_mime( $file ) { function wp_get_image_mime( $file ) {
/* /*
* Use exif_imagetype() to check the mimetype if available or fall back to * 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. * we assume the file could not be validated.
*/ */
try { try {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.0-alpha-52718'; $wp_version = '6.0-alpha-52719';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.