#6892 closed defect (bug) (fixed)
Missing comment notification on approval
| Reported by: | chmac | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6 |
| Component: | General | Version: | 2.5 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
If you approve a comment via edit-comments.php, and the option comments_notify = 1, no email is generated, the author is not notified. This bug was introduced when moderation.php functionality was moved into edit-comments.php. The code which is now missing was:
if ( get_option( 'comments_notify' ) == true ) {
wp_notify_postauthor( $k );
}
The moderation notification is not the same, it sends a notification to the admin_email, not the post author.
Attachments (2)
Change History (11)
#4
@
18 years ago
- Resolution fixed
- Status closed → reopened
This patch results in duplicate comment notification emails being sent when comments are approved by using the approve link in a moderation notification email.
Note:
See TracTickets
for help on using tickets.
My second patch passed the wrong variable for the $comment_id - I've tested this patch and it works on my install.