Make WordPress Core


Ignore:
Timestamp:
01/04/2021 05:16:43 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of false or WP_Error.

Follow-up to [46696], [47060], [49926], [49927].

See #51800.

File:
1 edited

Legend:

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

    r49927 r49929  
    50615061 *
    50625062 * @param int|WP_Post $post_id Post ID or object.
    5063  * @return false|string[] Array of URLs already pinged for the given post, false if the post is not found.
     5063 * @return string[]|false Array of URLs already pinged for the given post, false if the post is not found.
    50645064 */
    50655065function get_pung( $post_id ) {
Note: See TracChangeset for help on using the changeset viewer.