Automattic / Automattic/jetpack

Bulk Editing Previously Published Posts from Draft to Published Resends Notification Email

Open
#1,834 6 comments 0 reactions 0 assignees View on GitHub
[Feature] Subscriptions [Pri] Normal [Status] Stale Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Steps to reproduce:
1. Publish a post. It sends a notification email as it should.
2. Change that post to a draft.
3. Switch that post back to "Published" using the Bulk Edit Tool (I think this happens with Quick Edit as well). Provided the Subscription Module is activated, a new email is sent out.

We should probably only send one post notification out when the post is originally published and not if the status is flipped back and forth. Confirmed changing status on WP.com does not generate a new email.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Bulk Edit Tool and Quick Edit status changes into the Subscription Module's post notification path. Reproduce the sequence of publishing, drafting, and republishing a post, then verify that only the original publication sends an email. The issue names no files or tests, so locate the relevant entry points before defining coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.