#6892 closed defect (bug) (fixed)
Missing comment notification on approval
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | major | Version: | 2.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
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
@
17 years ago
- Resolution fixed deleted
- Status changed from closed to 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.