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

WordPress Trac noreply at wordpress.org
Thu Mar 9 16:33:50 UTC 2017


#39550: Some Non-image files fail to upload after 4.7.1
---------------------------+------------------------
 Reporter:  greatislander  |       Owner:  joemcgill
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  4.7.3
Component:  Upload         |     Version:  4.7.1
 Severity:  critical       |  Resolution:  fixed
 Keywords:  fixed-major    |     Focuses:
---------------------------+------------------------

Comment (by blobfolio):

 Replying to [comment:145 lovelucy]:
 > I cannot upload .xls files with version 4.7.3 .
 > @blobfolio 's script test shows that the file type is
 > `application/vnd.ms-office`, which is not included in the whitelist of
 function `wp_get_mime_types()`

 Would you please share the version of PHP you are running, the server
 software and its version, and the operating system and its version?

 I'm curious where `application/vnd.ms-office` is coming from. The MIME
 alias database I'm working on has 1749 entries at the moment, but that's
 not one of them. :)

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


More information about the wp-trac mailing list