WordPress.org

Make WordPress Core


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

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

File:
1 edited

Legend:

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

    r15355 r15590  
    251251 * @uses is_object_in_term()
    252252 *
    253  * @param int|string|array $category. Category ID, name or slug, or array of said.
    254  * @param int|post object Optional.  Post to check instead of the current post. @since 2.7.0
     253 * @param int|string|array $category Category ID, name or slug, or array of said.
     254 * @param int|object $_post Optional. Post to check instead of the current post. (since 2.7.0)
    255255 * @return bool True if the current post is in any of the given categories.
    256256 */
     
    988988 *
    989989 * @param string|int|array $tag Optional. The tag name/term_id/slug or array of them to check for.
    990  * @param int|post object Optional.  Post to check instead of the current post. @since 2.7.0
     990 * @param int|object $_post Optional. Post to check instead of the current post. (since 2.7.0)
    991991 * @return bool True if the current post has any of the the given tags (or any tag, if no tag specified).
    992992 */
Note: See TracChangeset for help on using the changeset viewer.