Browse Source

remove :laughing: dns-prefetch

windhamdavid 8 years ago
parent
commit
ef82028641
1 changed files with 2 additions and 1 deletions
  1. 2 1
      inc/tweaks.php

+ 2 - 1
inc/tweaks.php

@@ -12,7 +12,7 @@ remove_action('wp_head', 'wp_generator');
 remove_action('wp_head', 'feed_links_extra', 3 );
 remove_action('wp_head', 'feed_links', 2 );
 remove_action('wp_head', 'wp_oembed_add_discovery_links', 10, 0 );
-remove_action( 'wp_head', 'wp_oembed_add_host_js', 10, 0 );
+remove_action('wp_head', 'wp_oembed_add_host_js', 10, 0 );
 
 function dw_remove_wp_ver_css_js( $src ) {
     if ( strpos( $src, 'ver=' ) )
@@ -54,6 +54,7 @@ function disable_emojis() {
 	remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );	
 	remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
 	add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
+	add_filter( 'emoji_svg_url', '__return_false' );
 }
 add_action( 'init', 'disable_emojis' );