Ticket #10867: 10867.2.diff
File 10867.2.diff, 1.4 KB (added by , 14 years ago) |
---|
-
wp-includes/default-filters.php
182 182 add_action( 'wp_head', 'index_rel_link' ); 183 183 add_action( 'wp_head', 'parent_post_rel_link', 10, 0 ); 184 184 add_action( 'wp_head', 'start_post_rel_link', 10, 0 ); 185 add_action( 'wp_head', 'adjacent_posts_rel_link ',10, 0 );185 add_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 ); 186 186 add_action( 'wp_head', 'locale_stylesheet' ); 187 187 add_action( 'publish_future_post', 'check_and_publish_future_post', 10, 1 ); 188 188 add_action( 'wp_head', 'noindex', 1 ); -
wp-includes/link-template.php
1095 1095 } 1096 1096 1097 1097 /** 1098 * Display relational links for the posts adjacent to the current post for single post pages. 1099 * 1100 * @since 3.0.0 1101 * 1102 */ 1103 function adjacent_posts_rel_link_wp_head() { 1104 if ( !is_singular() || is_attachment() ) 1105 return; 1106 adjacent_posts_rel_link(); 1107 } 1108 1109 /** 1098 1110 * Display relational link for the next post adjacent to the current post. 1099 1111 * 1100 1112 * @since 2.8.0