[wp-trac] [WordPress Trac] #43389: Add a privacy policy page setting to options-reading.php

WordPress Trac noreply at wordpress.org
Thu Feb 22 18:16:57 UTC 2018


#43389: Add a privacy policy page setting to options-reading.php
-----------------------------+-----------------------------
 Reporter:  allendav         |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Administration   |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Proposed: Add a privacy policy page setting to options-reading.php or
 possibly options-general.php. The privacy policy page setting, like the
 home page setting, could default to un-set, and an admin could otherwise
 select from pages on the site.

 The selected page would be saved in the site's options and available to
 themes and plugins via something like get_privacy_policy_url (similar to
 how get_home_url works)

 We should also have a is_privacy_policy that returns true (similar to how
 is_home works)

 May or may not want the result filterable like home_url supports.

 Rationale for adding to core: with the EU GDPR coming into effect, more
 sites are required to have a published privacy policy. Having a standard
 means of fetching a site's privacy policy url will be great help to themes
 and widgets that need to expose that information.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43389>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list