[wp-trac] [WordPress Trac] #40017: wp_get_image_mime() returns 'application/octet-stream' for non-image files.
WordPress Trac
noreply at wordpress.org
Fri Apr 7 10:07:56 UTC 2017
#40017: wp_get_image_mime() returns 'application/octet-stream' for non-image files.
--------------------------------------+------------------------
Reporter: blobfolio | Owner: joemcgill
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7.4
Component: Media | Version: 4.7.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------
Comment (by swissspidy):
I'd probably split `test_wp_get_image_mime()` up into two separate tests
with one assertion each.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40017#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list