WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22128, comment 19


Ignore:
Timestamp:
11/29/12 17:00:52 (2 years ago)
Author:
helenyhou
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22128, comment 19

    initial v1  
    66* In a multisite installation, there is a network setting for mimetypes allowed (or rather, extensions), that in unindicated reality can only be a subset of the aforementioned set. 
    77 
    8 Since it's network-wide, not site-specific, and thus only manageable by a superadmin and quite technical, I'm not sure I see why there needs to be an option for this at all, much less any UI to go with it. Seems to me that the solution for changing what mimetypes are allowed on a network install is to use the `upload_mimes` filter mentioned in [comment:4 comment:4]. Is there something I'm missing about how what the end result is of the whitelist-of-a-whitelist technique currently employed vs. straight up filtering the allowed mimetypes? 
     8Since it's network-wide, not site-specific, and thus only manageable by a superadmin and quite technical, I'm not sure I see why there needs to be an option for this at all, much less any UI to go with it. Seems to me that the solution for changing what mimetypes are allowed on a network install is to use the `upload_mimes` filter mentioned in [comment:4 comment:4]. Is there something I'm missing about what the end result is of the whitelist-of-a-whitelist technique currently employed vs. straight up filtering the allowed mimetypes?