Ticket #14664: profile-rel.patch
File profile-rel.patch, 1.3 KB (added by , 14 years ago) |
---|
-
wp-includes/default-filters.php
180 180 181 181 // Actions 182 182 add_action( 'wp_head', 'wp_enqueue_scripts', 1 ); 183 add_action( 'wp_head', 'profile_rel_link', 1 ); 183 184 add_action( 'wp_head', 'feed_links', 2 ); 184 185 add_action( 'wp_head', 'feed_links_extra', 3 ); 185 186 add_action( 'wp_head', 'rsd_link' ); -
wp-includes/link-template.php
1301 1301 } 1302 1302 1303 1303 /** 1304 * Get site profile relational link. 1305 * 1306 * @since 3.1.0 1307 * 1308 * @return string 1309 */ 1310 function get_profile_rel_link() { 1311 $link = "<link rel='profile' href='http://gmpg.org/xfn/11' />\n"; 1312 return apply_filters( "profile_rel_link", $link ); 1313 } 1314 1315 /** 1316 * Display relational link for the site profile. 1317 * 1318 * @since 3.1.0 1319 */ 1320 function profile_rel_link() { 1321 echo get_profile_rel_link(); 1322 } 1323 1324 /** 1304 1325 * Display previous post link that is adjacent to the current post. 1305 1326 * 1306 1327 * @since 1.5.0