Wordpress/tests
Pascal Birchler 9e500a9b06 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.

Merges [40397] to the 4.7 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40403 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-10 14:27:23 +00:00
..
phpunit Media: Improve handling of non-image files in wp_get_image_mime. 2017-04-10 14:27:23 +00:00
qunit REST API: Add `gmt_offset` and `timezone_string` to the base `/wp-json` response. 2017-03-27 07:08:54 +00:00