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

WordPress Trac noreply at wordpress.org
Sun Feb 26 16:05:27 UTC 2017


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

Comment (by joemcgill):

 In [changeset:"40125"]:
 {{{
 #!CommitTicketReference repository="" revision="40125"
 Media: Fix unit tests for MIME checks on multisite.

 A few of the multisite tests were failing after [40124] because
 multisite filters `upload_mimes` with the `check_upload_mimes()`
 function to reduce the set of allowed MIME types. This fixes those
 errors by skipping the tests for adding additional MIME types and
 only tests file types assumed to be allowed.

 See #39550.
 }}}

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


More information about the wp-trac mailing list