WordPress.org

Make WordPress Core

Ticket #21658: bug-21658.diff

File bug-21658.diff, 424 bytes (added by alexander.rohmann, 6 years ago)

Fix for #21658

  • wp-includes/link-template.php

     
    16481648 *
    16491649 */
    16501650function adjacent_posts_rel_link_wp_head() {
    1651         if ( !is_singular() || is_attachment() )
     1651        if ( !is_singular() || is_attachment() || is_page() )
    16521652                return;
    16531653        adjacent_posts_rel_link();
    16541654}