Ready to get started?Download WordPress


Comment approval emails going to authors now? (5 posts)

  1. shacker
    Posted 3 years ago #

    I know WP 3.1 changed one comment-related behavior (after approving a comment, you don't get a 2nd email announcing the new comment). But this is different: Approval emails are being sent to post authors in addition to the site admin. Are we looking at a bug or a feature here? I'd like to restore the old behavior (where the admin is the only approver). Is there a way to do this?


  2. almostbohemian
    Posted 3 years ago #

    I would also like to know more about this... I just did the update and now I am not receiving email notifications about comments...

    And yes, I checked the discussion settings and it still isn't going through... hope it gets cleared up soon.

  3. emeraldimp
    Posted 3 years ago #

    Ditto, a client wants to manage all comments through the admin account, not any of the individual authors. This had been working fine, but now the post authors are getting emails.

  4. emeraldimp
    Posted 3 years ago #

    Alright, not sure why I can't find any documentation on this (can't find a bug in trac, can't find anywhere where it's mentioned) but in pluggable.php on line 1121, there is:

    if ( user_can($user->ID, 'edit_comment', $comment_id) && !empty($user->user_email) && ( get_option('admin_email') != $user->user_email) )
    		$email_to[] = $user->user_email;

    (which is a change from previous versions, which only send the email to the admin).

    Basically, comment those lines out and it'll only send the email to the admin.

    Hopefully an option will be added to configure this behavior.

  5. shacker
    Posted 3 years ago #

    Here's the official ticket activity on this issue:

Topic Closed

This topic has been closed to new replies.

About this Topic