id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 12774,Don't fire wp_notify_postauthor() when the author moderated the comment,nacin,,"In wp_notify_postauthor(), there is this bit of code with an inline comment: {{{ // The author moderated a comment on his own post if ( $comment->user_id == $post->post_author ) return false; }}} The comment doesn't match the code. The code actually prevents the e-mail whenever the author *made* a comment on their own post. That said, the comment should have code for it. If the author moderates a comment on their own post (a comment not written by them, that is), the author should not get a comment notification. Thoughts?",enhancement,closed,normal,3.1,Comments,,normal,fixed,has-patch commit,,