Docs: Various docblock corrections particularly relating to boolean types.

See #51800


git-svn-id: https://develop.svn.wordpress.org/trunk@49926 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2021-01-03 21:55:04 +00:00
parent 69cc6e61d0
commit 374b41ed13
15 changed files with 27 additions and 25 deletions

View File

@@ -2406,9 +2406,9 @@ function wp_set_comment_status( $comment_id, $comment_status, $wp_error = false
*
* @since 1.5.0
*
* @param int $comment_id Comment ID.
* @param string|bool $comment_status Current comment status. Possible values include
* 'hold', 'approve', 'spam', 'trash', or false.
* @param int $comment_id Comment ID.
* @param string $comment_status Current comment status. Possible values include
* 'hold', '0', 'approve', '1, 'spam', and 'trash'.
*/
do_action( 'wp_set_comment_status', $comment->comment_ID, $comment_status );