Make WordPress Core


Ignore:
Timestamp:
11/24/2020 09:25:46 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Upgrade more parameters in docblocks to used typed array notation.

See #51800, #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-formats.php

    r49544 r49693  
    4242 * @since 3.1.0
    4343 *
    44  * @param string|array     $format Optional. The format or formats to check.
     44 * @param string|string[]  $format Optional. The format or formats to check.
    4545 * @param WP_Post|int|null $post   Optional. The post to check. Defaults to the current post in the loop.
    4646 * @return bool True if the post has any of the given formats (or any format, if no format specified),
Note: See TracChangeset for help on using the changeset viewer.