From f8c42e40d778565f93708840cc9b4a67cca44dcd Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 10 Mar 2010 20:10:32 +0000 Subject: [PATCH] Don't replace Link headers. Update phpdoc. see #10604 git-svn-id: http://svn.automattic.com/wordpress/trunk@13650 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index c95fb8ce20..53a2dc84ef 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -2053,9 +2053,9 @@ function wp_ajaxurl() { /** * Return a shortlink for a post, page, attachment, or blog. * - * Shortlinks are not supported by default. A plugin is required to get shortlink support. * This function exists to provide a shortlink tag that all themes and plugins can target. A plugin must hook in to - * provide the actual shortlinks. Plugins can short circuit this function via the pre_get_shortlink filter or filter the output + * provide the actual shortlinks. Default shortlink support is limited to providing ?p= style links for posts. + * Plugins can short circuit this function via the pre_get_shortlink filter or filter the output * via the get_shortlink filter. * * @since 3.0.0. @@ -2126,7 +2126,7 @@ function wp_shortlink_header() { if ( empty($shortlink) ) return; - header('Link: <' . $shortlink . '>; rel=shortlink'); + header('Link: <' . $shortlink . '>; rel=shortlink', false); } ?>