Docs: Expand the `$comment_approved` argument description for `'comment_post'` action.

Props cfinke.
Fixes #33903.
Built from https://develop.svn.wordpress.org/trunk@34253


git-svn-id: http://core.svn.wordpress.org/trunk@34217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-09-16 22:30:23 +00:00
parent 48b7547a52
commit 444509e246
2 changed files with 3 additions and 3 deletions

View File

@ -1634,7 +1634,7 @@ function wp_new_comment( $commentdata ) {
* @since 1.2.0
*
* @param int $comment_ID The comment ID.
* @param int $comment_approved 1 (true) if the comment is approved, 0 (false) if not.
* @param int|string $comment_approved 1 if the comment is approved, 0 if not, 'spam' if spam.
*/
do_action( 'comment_post', $comment_ID, $commentdata['comment_approved'] );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34252';
$wp_version = '4.4-alpha-34253';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.