Advertisement
Guest User

Fix for 3.5 Update Image Loader Problem From Child Theme

a guest
Mar 24th, 2013
183
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. //code to override theme function fixing Image loader problem of 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. //
Advertisement
RAW Paste Data Copied
Advertisement