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

WordPress Trac noreply at wordpress.org
Mon Mar 5 19:58:58 UTC 2018


#43389: Add a privacy policy page setting to options-reading.php
-----------------------------+--------------------
 Reporter:  allendav         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  5.0
Component:  Administration   |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  gdpr has-patch   |     Focuses:
-----------------------------+--------------------
Changes (by allendav):

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


Comment:

 Here's a patch that adds a new setting to Settings > Reading for the
 privacy policy. It saves it in a `page_for_privacy_policy` option. I did
 not create a url-getter function since standard practice is probably to
 use something like `get_permalink( get_option( 'page_for_privacy_policy' )
 );` instead anyways.

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


More information about the wp-trac mailing list