[wp-trac] [WordPress Trac] #50424: Privacy Page Shortcode

WordPress Trac noreply at wordpress.org
Thu Jun 18 18:41:42 UTC 2020


#50424: Privacy Page Shortcode
-------------------------+------------------------------
 Reporter:  leehodson    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Privacy      |     Version:  5.4.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by leehodson):

 As we all point out, the issue with adding the link manually is that when
 the page link changes any links added manually must be edited manually. A
 shortcode that grabs the link solves this issue.

 I accept that theme and plugin authors could create their own shortcodes
 but this means lots of different developers adding their own snippet to
 call get_the_privacy_policy_link() in order to expose the same data.
 Adding a snippet to core would reduce plugin and theme code bloat and stop
 several dozen 'Privacy Link' plugins being added to the plugin directory.

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


More information about the wp-trac mailing list