Make WordPress Core

Changeset 34253


Ignore:
Timestamp:
09/16/2015 10:29:15 PM (9 years ago)
Author:
SergeyBiryukov
Message:

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

Props cfinke.
Fixes #33903.

File:
1 edited

Legend:

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

    r34252 r34253  
    16341634     * @since 1.2.0
    16351635     *
    1636      * @param int $comment_ID       The comment ID.
    1637      * @param int $comment_approved 1 (true) if the comment is approved, 0 (false) if not.
     1636     * @param int        $comment_ID       The comment ID.
     1637     * @param int|string $comment_approved 1 if the comment is approved, 0 if not, 'spam' if spam.
    16381638     */
    16391639    do_action( 'comment_post', $comment_ID, $commentdata['comment_approved'] );
Note: See TracChangeset for help on using the changeset viewer.