[wp-trac] [WordPress Trac] #43481: Privacy Policy Tools - Admin Page UI

WordPress Trac noreply at wordpress.org
Fri Mar 9 06:05:07 UTC 2018


#43481: Privacy Policy Tools - Admin Page UI
------------------------------+------------------------------
 Reporter:  xkon              |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  gdpr 2nd-opinion  |     Focuses:
------------------------------+------------------------------

Comment (by xkon):

 [attachment:43481.3.diff] is an attempt to move everything into the
 existing `privacy.php` as have to use existing files.

 There is a little `jQuery` snippet on the original Privacy page just for
 the means to un-check the Tools->Privacy menu option so users won't be
 getting confused as we're actually using the same page but with different
 content. I'm not sure if that's can be done any other way since the menu
 automatically linters whatever is bound to `privacy.php`.

 Also I've added the

 {{{
 if ( preg_match( '#/wp-admin/about.php$#', $referer ) ||
      preg_match( '#/wp-admin/credits.php$#', $referer ) ||
      preg_match( '#/wp-admin/freedoms.php$#', $referer )  )  {
 }}}

 so if you go to the privacy from any of the About section pages you see
 the original content.

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


More information about the wp-trac mailing list