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

WordPress Trac noreply at wordpress.org
Wed Apr 25 12:28:31 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 azaozz):

 Replying to [comment:44 grapplerulrich]:
 > In `class WP_Privacy_Policy_Content` I found the variable `$plugin_name`
 and the documentation geared towards Plugins only.

 Ah, you mean theme authors will be jealous? :)

 Joking aside, I agree this needs better docs.

 > I could imagine a scenario where a plugin may have multiple privacy
 policies depending on the features enabled.

 Right, and this is specifically supported. A plugin or theme can add as
 many sections of suggested text as needed.

 > I propose we rename $plugin_name to $policy_name...
 > I'd personally alter the call to accept: $name, $policy_name,
 $policy_text...

 Not sure this is a good idea. First, `$policy_name` is incorrect. The
 themes and plugins are not adding whole, complete privacy policies (think
 of the legal implications!), they are suggesting text that site admins may
 want to use in their sites' privacy policies :)

 Then `$plugin_name` makes it very clear what is expected. It's not a
 "Privacy Policy Name" (do privacy policies have names?), it is the name of
 the plugin or theme that is adding the suggested content.

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


More information about the wp-trac mailing list