Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#31429 closed defect (bug) (invalid)

notification for comments are not being sent

Reported by: eddymejia's profile eddymejia Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.1.1
Component: Comments Keywords:
Focuses: Cc:

Description

On my multi-blog site I have set up the admin to be notified on comments,
but testing the comments I have not been able to get notified by email that a comment
has been made. I am using the WordPress version 4.1.1 running Avada theme.

I found that if I comment out this line in my pluggable.php

apply_filters( 'comment_moderation_recipients', $emails, $comment_id );

it sends my email. Do you know how this is used, and why this is clearing out the email array?

Change History (2)

#1 @DrewAPicture
10 years ago

  • Component changed from General to Comments
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi Eddy, welcome to Trac!

I'm unable to reproduce this issue on a clean multisite install running 4.1.1. Comment recipient emails are being sent as expected.

It sounds like maybe you have a plugin that's hooking to the comment recipients hook and modifying who is getting notified. I'd suggest deactivating all of your plugins and trying again.

If you continue to have problems, please refer your questions to our helpful volunteers on the WordPress.org support forums.

#2 @eddymejia
10 years ago

Looks like it was a plugin called "Akismet" that was changing my comment recipients. Thanks for your help.

Note: See TracTickets for help on using tickets.