Changeset 15590 for trunk/wp-includes/link-template.php
- Timestamp:
- 09/07/2010 11:21:11 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r15582 r15590 28 28 * @uses $wp_rewrite 29 29 * 30 * @param $string String aURL with or without a trailing slash.31 * @param $type_of_url String the type of URL being considered (e.g. single, category, etc) for use in the filter.30 * @param string $string URL with or without a trailing slash. 31 * @param string $type_of_url The type of URL being considered (e.g. single, category, etc) for use in the filter. 32 32 * @return string 33 33 */ … … 1155 1155 * @param bool $in_same_cat Optional. Whether returned post should be in same category. 1156 1156 * @param string $excluded_categories Optional. Excluded categories IDs. 1157 * @param bool $ previous Optional. Whether to retrieve first post.1157 * @param bool $start Optional. Whether to retrieve first or last post. 1158 1158 * @return object 1159 1159 */ … … 1201 1201 * @param bool $in_same_cat Optional. Whether link should be in same category. 1202 1202 * @param string $excluded_categories Optional. Excluded categories IDs. 1203 * @param bool $start Optional, default is true. Whether display link to first post.1203 * @param bool $start Optional, default is true. Whether display link to first or last post. 1204 1204 * @return string 1205 1205 */ … … 2187 2187 * 2188 2188 * @param int $id A post or blog id. Default is 0, which means the current post or blog. 2189 * @param string $contex Whether the id is a 'blog' id, 'post' id, or 'media' id. If 'post', the post_type of the post is consulted.If 'query', the current query is consulted to determine the id and context. Default is 'post'.2189 * @param string $context Whether the id is a 'blog' id, 'post' id, or 'media' id. If 'post', the post_type of the post is consulted. If 'query', the current query is consulted to determine the id and context. Default is 'post'. 2190 2190 * @param bool $allow_slugs Whether to allow post slugs in the shortlink. It is up to the plugin how and whether to honor this. 2191 2191 * @return string A shortlink or an empty string if no shortlink exists for the requested resource or if shortlinks are not enabled.
Note: See TracChangeset
for help on using the changeset viewer.