Skip to content

Commit 01cf1b5

Browse files
committed
All: Disable actions which generate <link>s that we don't care about.
Closes jquery/infrastructure#175
1 parent 5495b5d commit 01cf1b5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mu-plugins/jquery-actions.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
remove_action( 'wp_head', 'feed_links', 2 );
4+
remove_action( 'wp_head', 'feed_links_extra', 3 );
5+
remove_action( 'wp_head', 'rsd_link' );
6+
remove_action( 'wp_head', 'wlwmanifest_link' );
7+
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
8+
remove_action( 'wp_head', 'rel_canonical' );

0 commit comments

Comments
 (0)