[wp-trac] [WordPress Trac] #17710: No mails are sent after comments are moderated
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 6 16:29:10 UTC 2011
#17710: No mails are sent after comments are moderated
-------------------------+--------------------------------------
Reporter: fat32 | Owner: Me
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 3.1
Severity: normal | Keywords: needs-patch dev-feedback
-------------------------+--------------------------------------
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[[BR]]
1) Someone posts a comment[[BR]]
2) I get the request to moderate this comment (via mail)[[BR]]
3) I moderate (approve) it[[BR]]
4) I get a mail which says something like "There is a new comment on post
ABC"[[BR]]
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.
More info:
- http://wordpress.org/support/topic/some-mails-are-not-being-sent
- http://www.net-developers.de/blog/2011/06/03/wordpress-sendet-keine-e
-mails-bei-neuen-kommentaren-die-losung/
- http://forum.wordpress-deutschland.org/installation/87027-wp-3-1-2-nur-
noch-wenige-mails-werden-verschickt.html
Greets
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17710>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list