Browse Source

remove oembed provider

windhamdavid 9 years ago
parent
commit
e3eadb6650
1 changed files with 1 additions and 0 deletions
  1. 1 0
      inc/tweaks.php

+ 1 - 0
inc/tweaks.php

@@ -12,6 +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 );
 
 function dw_remove_wp_ver_css_js( $src ) {
     if ( strpos( $src, 'ver=' ) )