Skip to content

Custom Posts: Show "Post updated" notice#25576

Open
crazytonyli wants to merge 2 commits into
trunkfrom
task/custom-posts-show-notice
Open

Custom Posts: Show "Post updated" notice#25576
crazytonyli wants to merge 2 commits into
trunkfrom
task/custom-posts-show-notice

Conversation

@crazytonyli
Copy link
Copy Markdown
Contributor

Description

Mirror the existing UX: show notice after post is saved/published.

The first commit is code-format changes and can be ignored.

Post a Notice toast on every HTTP write to the site from the Custom Post editor (save draft, update, publish) and from the standalone settings sheet reached from the Custom Posts list. The notice's title reflects the action: "Draft saved" only on the first save of a brand-new post, "Post updated" for any save of an existing post, and "Post published" via the publishing sheet. The post title is the notice's subtitle (omitted when empty). Localized strings live in a shared CustomPostNotice enum.
@crazytonyli crazytonyli added this to the 27.0 milestone May 21, 2026
@crazytonyli crazytonyli requested a review from jkmassel May 21, 2026 21:16
@wpmobilebot
Copy link
Copy Markdown
Contributor

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 Number32286
VersionPR #25576
Bundle IDcom.jetpack.alpha
Commit6c9a5a3
Installation URL2pd999pj0hub8
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

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 Number32286
VersionPR #25576
Bundle IDorg.wordpress.alpha
Commit6c9a5a3
Installation URL5rivq95fmt940
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

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