Wordpress/tests
Joe McGill 04e3680d1c Media: Improve handling of non-image files in wp_get_image_mime.
This prevents non-image fileypes from returning a mime type of
"application/octet-stream" when `exif_imagetype()` returns `false`.

Props blobfolio.
Fixes #40017.


git-svn-id: https://develop.svn.wordpress.org/trunk@40397 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-09 22:43:04 +00:00
..
phpunit Media: Improve handling of non-image files in wp_get_image_mime. 2017-04-09 22:43:04 +00:00
qunit REST API: Allow fetching multiple users at once via the slug parameter. 2017-04-05 22:24:24 +00:00