Skip to content

Custom Posts: Support "Access" and "Email to Subscribers" options#25574

Open
crazytonyli wants to merge 9 commits into
trunkfrom
task/cmm-2069-jetpack-post-settings
Open

Custom Posts: Support "Access" and "Email to Subscribers" options#25574
crazytonyli wants to merge 9 commits into
trunkfrom
task/cmm-2069-jetpack-post-settings

Conversation

@crazytonyli
Copy link
Copy Markdown
Contributor

Note

I recommend reviewing by commits. The first commit is pure code format changes and can be ignored.

Description

Fixes https://linear.app/a8c/issue/CMM-2069.

Custom Posts settings now support the same Jetpack newsletter options as regular Posts:

  1. The Access section shows the Jetpack newsletter access level.
  2. The Publish sheet shows "Email to Subscribers".
  3. The selected access level and email setting are read from and written back to REST meta.

This PR also fixes a bug where these two options remain visible even when the "Subscriptions" Jetpack module is not activated.

Testing instructions

"Subscriptions" Jetpack module must be activated, which is the case for all simple sites. For jetpack sites, you'll need to go to the Newsletter -> turn on "Let visitors subscribe to this site and receive emails when you publish a post".

@crazytonyli crazytonyli added this to the 27.0 milestone May 21, 2026
@crazytonyli crazytonyli requested a review from jkmassel May 21, 2026 01:00
@crazytonyli crazytonyli changed the title Task/cmm 2069 jetpack post settings Support "Access" and "Email to subscribers" options May 21, 2026
@crazytonyli crazytonyli changed the title Support "Access" and "Email to subscribers" options Custom Posts: Support "Access" and "Email to Subscribers" options May 21, 2026
@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented May 21, 2026

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number32271
VersionPR #25574
Bundle IDorg.wordpress.alpha
Commit9805872
Installation URL65a5ge40dh0ho
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented May 21, 2026

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number32271
VersionPR #25574
Bundle IDcom.jetpack.alpha
Commit9805872
Installation URL1cf44h2tlqh2g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants