[wp-trac] [WordPress Trac] #44621: Privacy Policy Guide: Improve the readability of the suggested text

WordPress Trac noreply at wordpress.org
Mon Jan 20 13:38:44 UTC 2020


#44621: Privacy Policy Guide: Improve the readability of the suggested text
-------------------------------------+-------------------------------------
 Reporter:  birgire                  |       Owner:  garrett-eclipse
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.4
Component:  Privacy                  |     Version:  4.9.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch needs-testing                |  css, administration
-------------------------------------+-------------------------------------

Comment (by sabernhardt):

 Do we mind if those new `div` tags in 44621.2.diff end up in the website's
 privacy policy final markup? The Block Editor can remove those additional
 tags from the page, but Classic blocks and pages created with Classic
 Editor still would include them.

 If each div tag (open and close tags) is wrapped in the `if(description)`
 conditional, then clicking the Create New Page button in Privacy settings
 would not insert them into the new page. The Copy to Clipboard button at
 the bottom of the guide would still carry the div tags to the other page,
 unless the JavaScript function is edited. (Then again, the `policy-text`
 and `hide-privacy-policy-tutorial` divs have been copied and pasted into
 the classic Visual editor since version 4.9.)

 I uploaded 44621.3.diff for consideration, which includes the conditionals
 and a slightly larger padding, and it treats the strong tags like headings
 again. I don't like this patch as it is, but feel free to use any part of
 it you want.

 About Plugins:

 A directory search found 13 plugins using the
 `wp_get_default_privacy_policy_content` filter to append headings and
 content to the end of the guide:
 https://wpdirectory.net/search/01DY9JHYSYAS8AWFG7KDA81W79
 Spreadsheet breakdown:
 https://docs.google.com/spreadsheets/d/18tq9Z-tjA-7WyG-
 iIRzyW2thgTiqUAGTtSCISUtARjE/edit?usp=sharing

 And at least 233 plugins mention the `wp_add_privacy_policy_content`
 function:
 https://wpdirectory.net/search/01DYBKN83SRWGA6QHR83SA6C13

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


More information about the wp-trac mailing list