Browse Source

remove_action only has 3 parameters

windhamdavid 4 years ago
parent
commit
2a725c05d8
1 changed files with 6 additions and 6 deletions
  1. 6 6
      inc/tweaks.php

+ 6 - 6
inc/tweaks.php

@@ -2,17 +2,17 @@
 
 remove_action('wp_head', 'index_rel_link' );
 remove_action('wp_head', 'rel_canonical');
-remove_action('wp_head', 'start_post_rel_link', 10, 0 );
-remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0);
-remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0 );
-remove_action('wp_head', 'parent_post_rel_link', 10, 0 );
+remove_action('wp_head', 'start_post_rel_link', 10);
+remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10);
+remove_action('wp_head', 'wp_shortlink_wp_head', 10);
+remove_action('wp_head', 'parent_post_rel_link', 10);
 remove_action('wp_head', 'rsd_link');
 remove_action('wp_head', 'wlwmanifest_link');
 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_discovery_links', 10);
+remove_action('wp_head', 'wp_oembed_add_host_js', 10);
 
 function dw_remove_wp_ver_css_js( $src ) {
     if ( strpos( $src, 'ver=' ) )