Ticket #33903: 33903.1.diff
| File 33903.1.diff, 1.1 KB (added by , 10 years ago) |
|---|
-
wp-includes/comment-functions.php
1633 1633 * 1634 1634 * @since 1.2.0 1635 1635 * 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. 1638 1638 */ 1639 1639 do_action( 'comment_post', $comment_ID, $commentdata['comment_approved'] ); 1640 1640 … … 1646 1646 * 1647 1647 * @since 4.4.0 1648 1648 * 1649 * @param int $comment_ID ID of the comment.1650 * @param int $comment_approved Whether the comment is approved.1649 * @param int $comment_ID ID of the comment. 1650 * @param int|string $comment_approved 1 if the comment is approved, 0 if not, 'spam' if spam. 1651 1651 */ 1652 1652 function wp_new_comment_notify_moderator( $comment_ID, $comment_approved ) { 1653 1653 if ( '0' == $comment_approved ) {