[wp-trac] [WordPress Trac] #59276: Wrong notice is showing up on the Privacy Policy page settings in WP dashboard.
WordPress Trac
noreply at wordpress.org
Thu May 28 08:07:01 UTC 2026
#59276: Wrong notice is showing up on the Privacy Policy page settings in WP
dashboard.
-------------------------------------+------------------------------
Reporter: anveshika | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version:
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses: ui
-------------------------------------+------------------------------
Comment (by masteradhoc):
Hey @audrasjb / @anveshika,
This came to my attention while reviewing open Privacy component tickets.
I agree the current message isn't 100% correct. But to make it more
precise we'd need to make three notes:
- If a page was selected → **"Privacy Policy page updated successfully."**
- If a previously set page was cleared → **"Privacy Policy page
removed."**
- If no page was set before and none is set now → **"No Privacy Policy
page is set."**
The fix is small — reading the previous option value before saving and
branching the message accordingly. Happy to put together a patch if
there's appetite for it. But not sure its worth it / has a huge benefit.
@audrasjb what do you think?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59276#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list