Make WordPress Core


Ignore:
Timestamp:
11/09/2020 03:13:56 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Docblock corrections relating to WP_Post objects.

See #51373, #50768

File:
1 edited

Legend:

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

    r49183 r49544  
    1212 * @since 3.1.0
    1313 *
    14  * @param int|object|null $post Optional. Post ID or post object. Defaults to the current post in the loop.
     14 * @param int|WP_Post|null $post Optional. Post ID or post object. Defaults to the current post in the loop.
    1515 * @return string|false The format if successful. False otherwise.
    1616 */
Note: See TracChangeset for help on using the changeset viewer.