docs: [SITE-5883][SITE-5884] Document + announce WordPress update-notice dismiss & hide controls#10166
Open
mehta-asim wants to merge 3 commits into
Open
docs: [SITE-5883][SITE-5884] Document + announce WordPress update-notice dismiss & hide controls#10166mehta-asim wants to merge 3 commits into
mehta-asim wants to merge 3 commits into
Conversation
Document the pantheon_show_update_notice filter, the PANTHEON_SHOW_UPDATE_NOTICE constant, and the CSS id/class hook for hiding the Pantheon WordPress update notice. Correct the DISABLE_PANTHEON_UPDATE_NOTICES description: it stops Pantheon's update-notice handling from loading, so WordPress's default update nag can appear instead. It does not simply hide the notice.
|
Successfully created multidev environment: pr-10166 |
Add a Dismiss the notice subsection: users can dismiss the notice with the X; the dismissal persists per user until a newer WordPress version is available. Companion to the SITE-5883 dismiss feature.
|
Successfully created multidev environment: pr-10166 |
jazzsequence
approved these changes
Jul 14, 2026
|
Successfully created multidev environment: pr-10166 |
mehta-asim
marked this pull request as ready for review
July 15, 2026 12:57
mehta-asim
marked this pull request as draft
July 15, 2026 15:04
rachelwhitton
marked this pull request as ready for review
July 15, 2026 15:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#pantheon-update-notice), thepantheon_show_update_noticefilter, or thePANTHEON_SHOW_UPDATE_NOTICEconstant (SITE-5884).DISABLE_PANTHEON_UPDATE_NOTICESdescription. The old text said it "only disables the text and notice in the WordPress admin." That is inaccurate: the constant stops the plugin's update-notice handling from loading entirely, so WordPress's own default update nag can appear instead. Add a note distinguishing the cosmetic hide options from this subsystem-level opt-out.src/source/releasenotes/2026-07-15-wordpress-update-notice-controls.md).Changes
src/source/content/core-updates.mdDISABLE_behavior in an Alertsrc/source/releasenotes/2026-07-15-wordpress-update-notice-controls.mdnew-feature,wordpress)Context
Companion to the plugin work: pantheon-systems/pantheon-mu-plugin#119 (SITE-5884: CSS hook +
pantheon_show_update_noticefilter +PANTHEON_SHOW_UPDATE_NOTICEconstant) and pantheon-systems/pantheon-mu-plugin#121 (SITE-5883: dismissible notice), both merged.The corrected
DISABLE_behavior was verified against the mu-plugin source and WordPress core:inc/pantheon-updates.phploads (pantheon.php). That file is the only place that removes WordPress's nativeupdate_nagand forcesWP_AUTO_UPDATE_CORE = false.update_nagonadmin_notices(priority 3) by default and renders it whenever a core update is available.Blocked on release
These features are unreleased. They ship in
pantheon-mu-plugin1.5.7 (release cut by pantheon-systems/pantheon-mu-plugin#123) and reach sites when that version is bundled into the WordPress upstream. Hold this PR until then, and set the release note'spublished_date/published_atto the actual ship date before merging.Test plan
pantheon-mu-plugin1.5.7 ships to the WordPress upstream.References