[wp-trac] [WordPress Trac] #56345: Add rel="privacy-policy' to get_the_privacy_policy_link function

WordPress Trac noreply at wordpress.org
Sun Sep 11 20:23:47 UTC 2022


#56345: Add rel="privacy-policy' to get_the_privacy_policy_link function
--------------------------------------+---------------------
 Reporter:  dshanske                  |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  low                       |   Milestone:  6.1
Component:  Privacy                   |     Version:  4.9.6
 Severity:  trivial                   |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+---------------------

Comment (by bookwyrm):

 I've tested this patch and it works.

 The only place in Core that the `get_the_privacy_policy_link` is used is
 on the `/wp-login.php` page and I see the attribute added there.

 I did notice that when the Privacy Policy page is included in a Page List
 block, the `rel="privacy-policy"` attribute is not included in HTML
 output.

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


More information about the wp-trac mailing list