Make WordPress Core

Changeset 28770


Ignore:
Timestamp:
06/18/2014 12:04:14 AM (12 years ago)
Author:
SergeyBiryukov
Message:

Don't generate adjacent links in wp_head() for attachments.

props kovshenin.
fixes #21658.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r28739 r28770  
    16561656 */
    16571657function adjacent_posts_rel_link_wp_head() {
    1658         if ( ! is_single() ) {
     1658        if ( ! is_single() || is_attachment() ) {
    16591659                return;
    16601660        }
Note: See TracChangeset for help on using the changeset viewer.