WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/03/2021 09:55:04 PM (11 months ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections particularly relating to boolean types.

See #51800

File:
1 edited

Legend:

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

    r49215 r49926  
    24072407     * @since 1.5.0
    24082408     *
    2409      * @param int         $comment_id     Comment ID.
    2410      * @param string|bool $comment_status Current comment status. Possible values include
    2411      *                                    'hold', 'approve', 'spam', 'trash', or false.
     2409     * @param int    $comment_id     Comment ID.
     2410     * @param string $comment_status Current comment status. Possible values include
     2411     *                               'hold', '0', 'approve', '1, 'spam', and 'trash'.
    24122412     */
    24132413    do_action( 'wp_set_comment_status', $comment->comment_ID, $comment_status );
Note: See TracChangeset for help on using the changeset viewer.