Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (7 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/post-formats.php

    r46660 r46823  
    4242 * @since 3.1.0
    4343 *
    44  * @param string|array    $format Optional. The format or formats to check.
    45  * @param object|int|null $post   Optional. The post to check. If not supplied, defaults to the current post if used in the loop.
     44 * @param string|array     $format Optional. The format or formats to check.
     45 * @param WP_Post|int|null $post   Optional. The post to check. If not supplied, defaults to the current post if used in the loop.
    4646 * @return bool True if the post has any of the given formats (or any format, if no format specified), false otherwise.
    4747 */
Note: See TracChangeset for help on using the changeset viewer.