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

WordPress Trac noreply at wordpress.org
Sat Apr 21 07:55:23 UTC 2018


#43620: Privacy Policy page design
------------------------------------------+--------------------------------
 Reporter:  melchoyce                     |       Owner:  xkon
     Type:  enhancement                   |      Status:  assigned
 Priority:  normal                        |   Milestone:  4.9.6
Component:  General                       |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  gdpr has-patch needs-testing  |     Focuses:  ui,
                                          |  administration
------------------------------------------+--------------------------------
Changes (by azaozz):

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


Comment:

 Replying to [comment:30 iandunn]:
 > I think it'd be helpful to have a filter in `get_privacy_policy_url()`.

 Yep, the patch looks good :)

 Was also thinking we may want to continue the trend of making two related
 template functions: one that returns the URL and another that
 echoes/outputs the link tag. That way we will be able to standardize the
 HTML, translate the link text in core, etc.

 Something similar to
 [https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-includes/link-
 template.php#L1388 get_edit_comment_link()] and
 [https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-includes/link-
 template.php#L1414 edit_comment_link()],
 [https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-includes/link-
 template.php#L2288 get_previous_posts_link()] and
 [https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-includes/link-
 template.php#L2317 previous_posts_link()], etc.

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


More information about the wp-trac mailing list