Changes between Initial Version and Version 1 of Ticket #20136, comment 2
- Timestamp:
- 03/01/2012 02:56:59 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20136, comment 2
initial v1 1 1 In one of the themes I have done so yes, using this in functions.php 2 2 3 4 {{{ 3 5 add_filter( 'upload_mimes', 'custom_mimes' ); 4 6 … … 8 10 return $mimes; 9 11 } 12 }}} 13 10 14 11 15 However in the rewrite to wp-includes/ms-files.php, the filter isn't being run since it is "outside" of a site.