[wp-trac] [WordPress Trac] #43721: Adding links to imprint and privacy policy pages on WP login screens

WordPress Trac noreply at wordpress.org
Fri Apr 20 14:09:42 UTC 2018


#43721: Adding links to imprint and privacy policy pages on WP login screens
------------------------------------+------------------------------
 Reporter:  voneff                  |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  gdpr                    |     Focuses:
------------------------------------+------------------------------

Comment (by xkon):

 Hello @voneff and welcome to core trac!

 In my opinion you're absolutely correct, websites that do use the default
 registration/login pages should include a link to their Privacy Policy
 page if that exists as well.

 In [attachment:43721.diff] as we now have the handy
 `get_privacy_policy_url()` it adds the links in the current `nav` if a
 policy page link exists.

 @melchoyce would you be ok with this added in the `nav` as seen in
 [attachment:43721.preview.jpg] ?

 @azaozz after taking a look at this do you think we could enhance the
 `get_privacy_policy_url()` to check if the page defined is of status
 `Publish` as well? Since the function returns just the url at the moment
 without the Publish check, if it still a 'draft' you end up having a 404
 link basically if used for Front End as here. Or should the check be made
 manually in the template itself?

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


More information about the wp-trac mailing list