[wp-trac] [WordPress Trac] #40017: wp_get_image_mime() returns 'application/octet-stream' for non-image files.

WordPress Trac noreply at wordpress.org
Fri Mar 17 10:49:23 UTC 2017


#40017: wp_get_image_mime() returns 'application/octet-stream' for non-image files.
-----------------------------------------------------+--------------------
 Reporter:  blobfolio                                |       Owner:
     Type:  defect (bug)                             |      Status:  new
 Priority:  normal                                   |   Milestone:  4.7.4
Component:  Media                                    |     Version:  4.7.1
 Severity:  normal                                   |  Resolution:
 Keywords:  has-patch dev-feedback needs-unit-tests  |     Focuses:
-----------------------------------------------------+--------------------
Changes (by swissspidy):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback needs-unit-
     tests


Comment:

 The patch looks really straightforward, but some tests would be helpful to
 ensure we really fix the issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40017#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list