Make WordPress Core


Ignore:
Timestamp:
04/06/2010 03:06:42 PM (15 years ago)
Author:
ryan
Message:

Trigger adjacent_posts_rel_link() from wp_head only for single post pages to avoid unnecessary queries. see #10867

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r13733 r14019  
    183183add_action( 'wp_head',             'parent_post_rel_link',          10, 0 );
    184184add_action( 'wp_head',             'start_post_rel_link',           10, 0 );
    185 add_action( 'wp_head',             'adjacent_posts_rel_link',      10, 0 );
     185add_action( 'wp_head',             'adjacent_posts_rel_link_wp_head', 10, 0 );
    186186add_action( 'wp_head',             'locale_stylesheet'                    );
    187187add_action( 'publish_future_post', 'check_and_publish_future_post', 10, 1 );
Note: See TracChangeset for help on using the changeset viewer.