Skip to content

Commit 0daba4c

Browse files
update docblock
1 parent b3487af commit 0daba4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2447,7 +2447,7 @@ function wp_new_comment_notify_postauthor( $comment_id ) {
24472447
return false;
24482448
}
24492449

2450-
// Only send notifications for approved comments.
2450+
// Send notifications for approved comments and all notes.
24512451
if (
24522452
! isset( $comment->comment_approved ) ||
24532453
( '1' !== $comment->comment_approved && 'note' !== $comment->comment_type ) ) {

0 commit comments

Comments
 (0)