Changeset 13650
- Timestamp:
- 03/10/2010 08:10:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r13647 r13650 2054 2054 * Return a shortlink for a post, page, attachment, or blog. 2055 2055 * 2056 * Shortlinks are not supported by default. A plugin is required to get shortlink support.2057 2056 * 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 2059 2059 * via the get_shortlink filter. 2060 2060 * … … 2127 2127 return; 2128 2128 2129 header('Link: <' . $shortlink . '>; rel=shortlink' );2129 header('Link: <' . $shortlink . '>; rel=shortlink', false); 2130 2130 } 2131 2131
Note: See TracChangeset
for help on using the changeset viewer.