Make WordPress Core


Ignore:
Timestamp:
09/07/2010 11:21:11 AM (14 years ago)
Author:
nacin
Message:

Phpdoc argument/@param cleanups. props duck_, see #14783.

File:
1 edited

Legend:

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

    r15582 r15590  
    2828 * @uses $wp_rewrite
    2929 *
    30  * @param $string String a URL 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.
    3232 * @return string
    3333 */
     
    11551155 * @param bool $in_same_cat Optional. Whether returned post should be in same category.
    11561156 * @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.
    11581158 * @return object
    11591159 */
     
    12011201 * @param bool $in_same_cat Optional. Whether link should be in same category.
    12021202 * @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.
    12041204 * @return string
    12051205 */
     
    21872187 *
    21882188 * @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'.
    21902190 * @param bool $allow_slugs Whether to allow post slugs in the shortlink. It is up to the plugin how and whether to honor this.
    21912191 * @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.