Skip to content

Commit f276d53

Browse files
Update comment.php
Co-authored-by: Aaron Jorbin <[email protected]>
1 parent bbb6e05 commit f276d53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wp-includes/comment.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,6 +2442,7 @@ function wp_new_comment_notify_postauthor( $comment_id ) {
24422442
* all notes and for approved comments.
24432443
*
24442444
* @since 4.4.0
2445+
* @since 6.9.0 Comment approval status is checked before this filter.
24452446
*
24462447
* @param bool $maybe_notify Whether to notify the post author about the new comment.
24472448
* @param int $comment_id The ID of the comment for the notification.

0 commit comments

Comments
 (0)