Automattic / Automattic/co-authors-plus

Drop the custom `wp_notify_postauthor` function

Open
#403 0 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
PHP
Stars
322
Forks
216
Avg merge
7h 50m
Merged PRs (30d)
65

Description

We don't need it anymore and can just hook in to [`comment_notification_recipients`](https://developer.wordpress.org/reference/hooks/comment_notification_recipients/) instead to notify all coauthors of the new comment.

Related #346

Contributor guide

Open the contributing guide

Research direction

Start by locating the custom wp_notify_postauthor function and its callers, then read the linked comment_notification_recipients hook documentation. Confirm how coauthors are currently notified and identify the relevant tests or notification behavior to verify. Done means the custom function is removed and all coauthors still receive notifications for new comments.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.