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

WordPress Trac noreply at wordpress.org
Wed Apr 25 03:24:18 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
------------------------------------------+--------------------------------

Comment (by xkon):

 @postphotos Thanks for the input!

 I'll add my thoughts as well after having that postbox in front of me for
 the last days while working on other things also:

 What I think could work a bit better would be something like along what
 @postphotos said with the difference of keeping everything on it's own so
 something like:

 `Name (whoever adds the policy) - Policy Name (optional if it's for
 something specific) - Policy Text`

 Although I would prefer for everyone to use
 `wp_add_privacy_policy_content()` 1 time only and add as much text as they
 please in 1 hook there's no limit to how many times they want to call it
 at the moment so a plugin / theme might eventually send over more than 1
 calls. For a thorough example let's take Tagregator (yay!) for instance :D

 As a plugin it might send:

 `only 1 call to wp_add_privacy_policy_content`
 Tagregator - Connecting to this that this there, api blah blah

 -OR-

 `wp_add_privacy_policy_content if instagram enabled`
 Tagregator - Instagram - Text

 `wp_add_privacy_policy_content if twitter enabled`
 Tagregator - Twitter - Text

 So we might end up with multiple 'entries' from plugins etc.

 I'd personally alter the call to accept: `$name, $policy_name,
 $policy_text`, the `kind` I don't know if we care much but if we do then
 that's an 'extra' var for it just in case we wan't to use it somehow.

 Does that make sense? ( kinda early here :D )

 --

 cc @grapplerulrich / @azaozz

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


More information about the wp-trac mailing list