Make WordPress Core


Ignore:
Timestamp:
01/06/2012 06:31:43 PM (14 years ago)
Author:
duck_
Message:

Fix mistakes in parameter documentation and add some missing param docs. See #19756.

File:
1 edited

Legend:

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

    r19684 r19702  
    228228 *
    229229 * @param int|string|array $category Category ID, name or slug, or array of said.
    230  * @param int|object $_post Optional. Post to check instead of the current post. (since 2.7.0)
     230 * @param int|object $post Optional. Post to check instead of the current post. (since 2.7.0)
    231231 * @return bool True if the current post is in any of the given categories.
    232232 */
     
    10511051 *
    10521052 * @param int $term Optional. Term ID. Will use global term ID by default.
     1053 * @param string $taxonomy Optional taxonomy name. Defaults to 'post_tag'.
    10531054 * @return string Term description, available.
    10541055 */
     
    11571158 * @since 3.1.0
    11581159 *
    1159  * @param string|int|array $tag Optional. The category name/term_id/slug or array of them to check for.
     1160 * @param string|int|array $category Optional. The category name/term_id/slug or array of them to check for.
    11601161 * @param int|object $post Optional. Post to check instead of the current post.
    11611162 * @return bool True if the current post has any of the given categories (or any category, if no category specified).
Note: See TracChangeset for help on using the changeset viewer.