WordPress.org

Make WordPress Core

Changeset 13650


Ignore:
Timestamp:
03/10/2010 08:10:32 PM (12 years ago)
Author:
ryan
Message:

Don't replace Link headers. Update phpdoc. see #10604

File:
1 edited

Legend:

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

    r13647 r13650  
    20542054 * Return a shortlink for a post, page, attachment, or blog.
    20552055 *
    2056  * Shortlinks are not supported by default. A plugin is required to get shortlink support.
    20572056 * This function exists to provide a shortlink tag that all themes and plugins can target.  A plugin must hook in to
    2058  * provide the actual shortlinks.  Plugins can short circuit this function via the pre_get_shortlink filter or filter the output
     2057 * provide the actual shortlinks.  Default shortlink support is limited to providing ?p= style links for posts.
     2058 * Plugins can short circuit this function via the pre_get_shortlink filter or filter the output
    20592059 * via the get_shortlink filter.
    20602060 *
     
    21272127        return;
    21282128
    2129     header('Link: <' . $shortlink . '>; rel=shortlink');
     2129    header('Link: <' . $shortlink . '>; rel=shortlink', false);
    21302130}
    21312131
Note: See TracChangeset for help on using the changeset viewer.