WordPress.org

Make WordPress Core

Ticket #21658: 21658.diff

File 21658.diff, 407 bytes (added by kovshenin, 5 years ago)
  • src/wp-includes/link-template.php

     
    16551655 *
    16561656 */
    16571657function adjacent_posts_rel_link_wp_head() {
    1658         if ( ! is_single() ) {
     1658        if ( ! is_single() || is_attachment() ) {
    16591659                return;
    16601660        }
    16611661        adjacent_posts_rel_link();