[wp-trac] [WordPress Trac] #43954: Showing the privacy policy admin notice on all screens is intrusive

WordPress Trac noreply at wordpress.org
Thu May 10 12:58:19 UTC 2018


#43954: Showing the privacy policy admin notice on all screens is intrusive
----------------------------+-----------------------
 Reporter:  iandunn         |       Owner:  iandunn
     Type:  enhancement     |      Status:  accepted
 Priority:  high            |   Milestone:  4.9.6
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  gdpr has-patch  |     Focuses:  ui
----------------------------+-----------------------
Changes (by azaozz):

 * keywords:  gdpr needs-patch => gdpr has-patch


Comment:

 In 43954.2.diff:
 - Show a warning when policy info has changed only on the Edit Page screen
 when editing the policy, and on the Settings => Privacy screen.
 - Add a "bubble" on the Settings menu item and on Settings => Privacy.
 - Remove unused functionality to cache when to check.

 The above seems to work well with one caveat: the menu is ready before the
 `admin_init` action fires, so we can't check for changes then. Added a
 workaround that caches the check (in an option) and updates that cache on
 `admin_init` priority 100 (this means the bubbles will show up or
 disappear one page load later).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43954#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list