Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of various docblock parameter types and return types.

See #48303

File:
1 edited

Legend:

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

    r46451 r46823  
    14541454 * @since 3.1.0
    14551455 *
    1456  * @param string|int|array $term Optional. The term name/term_id/slug or array of them to check for.
    1457  * @param string $taxonomy Taxonomy name
    1458  * @param int|object $post Optional. Post to check instead of the current post.
     1456 * @param string|int|array $term     Optional. The term name/term_id/slug or array of them to check for.
     1457 * @param string           $taxonomy Taxonomy name.
     1458 * @param int|WP_Post      $post    Optional. Post to check instead of the current post.
    14591459 * @return bool True if the current post has any of the given tags (or any tag, if no tag specified).
    14601460 */
Note: See TracChangeset for help on using the changeset viewer.