[wp-trac] [WordPress Trac] #43620: Privacy Policy page design

WordPress Trac noreply at wordpress.org
Wed Apr 11 22:31:41 UTC 2018


#43620: Privacy Policy page design
------------------------------+---------------------------------
 Reporter:  melchoyce         |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  gdpr needs-patch  |     Focuses:  ui, administration
------------------------------+---------------------------------

Comment (by azaozz):

 In 43620.diff - first run of the Privacy Policy postbox:
 - Caches the current suggested text in post_meta. Then compares it after
 every plugin activation or deactivation. If there are changes, outputs a
 warning (for admins only) with a link to edit the privacy policy page.
 - Introduces `wp_add_privacy_policy_content( $plugin_name, $policy_text )`
 for plugins to add suggested text for inclusion in the site's privacy
 policy.
 - Introduces `get_privacy_policy_url()` to retrieve the URL to the privacy
 policy.


 To highlight any changes the policy texts from plugins have three
 statuses:
 - Added (date).
 - Updated (date) green background.
 - Removed (date) red background.

 These are added after a plugin that adds policy text is activated or
 deactivated and the text is compared with the cache. The statuses are
 removed after the policy page is saved/updated.

 TODO:
 - Folding (somehow) of each policy text? With many plugins the text can
 get pretty long, and the scrolling may become annoying.
 - UI/behaviors review.

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


More information about the wp-trac mailing list