WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20136, comment 2


Ignore:
Timestamp:
03/01/12 14:56:59 (2 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20136, comment 2

    initial v1  
    11In one of the themes I have done so yes, using this in functions.php 
    22 
     3 
     4{{{ 
    35    add_filter( 'upload_mimes', 'custom_mimes' ); 
    46 
     
    810        return $mimes; 
    911    } 
     12}}} 
     13 
    1014 
    1115However in the rewrite to wp-includes/ms-files.php, the filter isn't being run since it is "outside" of a site.