SHOW:
|
|
- or go back to the newest paste.
1 | <?php | |
2 | ||
3 | - | //code to override theme function fixing Image loader problem of 3.5 update |
3 | + | //code to override function in parent theme in order to fix image loader problem after 3.5 update |
4 | ||
5 | add_action('wp_enqueue_scripts', 'minimatica_register_styles'); | |
6 | add_filter( 'ext2type', 'minimatica_file_types' ); | |
7 | ||
8 | remove_action('init', 'minimatica_register_styles'); | |
9 | remove_filter( 'ext2type', 'minimatica_mime_types' ); | |
10 | ||
11 | // |