Make WordPress Core


Ignore:
Timestamp:
01/05/2021 04:46:02 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use more consistent descriptions for void|false return values.

See #51800.

File:
1 edited

Legend:

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

    r49929 r49935  
    838838 * @param string|null $content Post content. If `null`, the `post_content` field from `$post` is used.
    839839 * @param int|WP_Post $post    Post ID or post object.
    840  * @return void|false Returns false if post is not found.
     840 * @return void|false Void on success, false if the post is not found.
    841841 */
    842842function do_enclose( $content, $post ) {
Note: See TracChangeset for help on using the changeset viewer.