[wp-trac] [WordPress Trac] #43850: Add privacy policy URL template tags

WordPress Trac noreply at wordpress.org
Tue Apr 24 20:22:59 UTC 2018


#43850: Add privacy policy URL template tags
------------------------------------------+--------------------------------
 Reporter:  iandunn                       |       Owner:  iandunn
     Type:  enhancement                   |      Status:  assigned
 Priority:  normal                        |   Milestone:  4.9.6
Component:  General                       |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  gdpr needs-testing has-patch  |     Focuses:  ui,
                                          |  administration
------------------------------------------+--------------------------------

Comment (by birgire):

 @iandunn Thanks for creating the ticket, it makes things easier to
 reference.

 No problem, I just attached what I had done so far, just in case something
 might be of any use here.

 Regarding the numbered placeholders, when not used for translation, it's
 more of a preference. We see it e.g. in the default themes.

 There were few tests for each function in [attachment:43850.diff], so I
 preferred creating a new file for each one. But it looks like I used the
 wrong {{{link}}} group reference but should have taken the {{{url}}} group
 reference ;-)

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


More information about the wp-trac mailing list