Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Hi!
The subscription type "new replies to my comments" sends notification for every reply on any comment in the current post, not only replies to the own comments. There is no check, if the parent comment is from the notified subscriber in WpdiscuzHelperEmail->notifyAllCommentSubscribers();
Â
for now, I fixed this by adding a filter to wpdiscuz_email_notification
Â
public function fixWpDiscuzAllCommentNotification($origResult, $emailData, $comment) { $wpDiscuzDb = new \WpdiscuzDBManager(); $subscription = $wpDiscuzDb->hasSubscription($comment->comment_post_ID, $emailData["email"]); if ((count($subscription) > 0) && ($subscription["type"] == $wpDiscuzDb::SUBSCRIPTION_ALL_COMMENT)) { if ($comment->comment_parent > 0) { $parentComment = get_comment($comment->comment_parent); if ($parentComment->comment_author_email == $emailData["email"]) { return true; } } return false; } else return $origResult; }
Hi @martin-buw,Â
Thank you for letting us know.Â
The issue is fixed in the latest version of the wpDiscuz plugin (V7.6.14).