[wp-trac] [WordPress Trac] #44202: Link to "Privacy Policy" automatically added to footer of any Twenty XXX theme
WordPress Trac
noreply at wordpress.org
Fri May 25 04:47:37 UTC 2018
#44202: Link to "Privacy Policy" automatically added to footer of any Twenty XXX
theme
-------------------------------+----------------------
Reporter: Ov3rfly | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Bundled Theme | Version: 4.9.6
Severity: normal | Resolution: invalid
Keywords: gdpr dev-feedback | Focuses: privacy
-------------------------------+----------------------
Changes (by pento):
* keywords: gdpr has-patch dev-feedback => gdpr dev-feedback
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
The default themes are built to show how to use various theme
functionalities, in this case, they're correctly showing how to use the
`the_privacy_policy_link()` template tag.
For custom themes, you can choose to not use this template tag. If you're
unable to customise your theme in this way, then you can add a small
plugin to remove the link:
{{{#!php
<?php
add_filter( 'the_privacy_policy_link', '__return_empty_string' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44202#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list