From db9a91a2a88595aa412d8b3905187a8b2c7d2147 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 9 Sep 2020 21:32:07 +0000 Subject: [PATCH] Posts, Post Types: Don't output the adjacent posts `rel` link by default. This has a considerable performance impact on sites which don't otherwise show previous and next post links, and has no SEO benefit. Props joostdevalk, swissspidy, johnbillion Fixes #39111 git-svn-id: https://develop.svn.wordpress.org/trunk@48966 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/default-filters.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php index 18c3224466..4275d81677 100644 --- a/src/wp-includes/default-filters.php +++ b/src/wp-includes/default-filters.php @@ -286,7 +286,6 @@ add_action( 'wp_head', 'feed_links', 2 ); add_action( 'wp_head', 'feed_links_extra', 3 ); add_action( 'wp_head', 'rsd_link' ); add_action( 'wp_head', 'wlwmanifest_link' ); -add_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 ); add_action( 'wp_head', 'locale_stylesheet' ); add_action( 'publish_future_post', 'check_and_publish_future_post', 10, 1 ); add_action( 'wp_head', 'noindex', 1 );