[wp-trac] [WordPress Trac] #39550: Some Non-image files fail to upload after 4.7.1

WordPress Trac noreply at wordpress.org
Tue Jan 17 18:08:34 UTC 2017


#39550: Some Non-image files fail to upload after 4.7.1
---------------------------+------------------------
 Reporter:  greatislander  |       Owner:  joemcgill
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  4.7.2
Component:  Upload         |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------

Comment (by andyimatest):

 I've had the same issue in 4.7.1 with .vtt files.  Arbitrarily, they
 resolve as "text/plain" or "text/x-c" using finfo_file(), no matter where
 they came from, so I have to detect if the upload fails, then change the
 acceptable mimetype and try again.

 Also, error messages using async_upload are not displayed in the Media
 page, I have to use Firebug to get the error message.

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


More information about the wp-trac mailing list