No mails are sent after comments are moderated
|Reported by:||fat32||Owned by:||Me|
I did a lot of research on why my wordpress blog did not send any mails when having moderated a comment after updating to WP 3.1.
I described the problem at http://wordpress.org/support/topic/some-mails-are-not-being-sent
The behaviour that I wanted to have is
1) Someone posts a comment
2) I get the request to moderate this comment (via mail)
3) I moderate (approve) it
4) I get a mail which says something like "There is a new comment on post ABC"
After updating to WP 3.1 step 4 was missed and I didn't know why. Until i found the bug in wp-includes/pluggable.php
// The author moderated a comment on his own post if ( $post->post_author == get_current_user_id() ) return false;
has to be replaced by
// The author moderated a comment on his own post //if ( $post->post_author == get_current_user_id() ) //return false;
or simply to be removed.
My proposal would be to introduce a new option in the wordpress options which allows the blog owner to choose how his blog should behave when a comment is approved.
Change History (14)
comment:11 hebbet — 3 years ago
- Resolution set to wontfix
- Status changed from new to closed