[wp-trac] [WordPress Trac] #49282: Cleanup Privacy .wp-policy-help CSS remnants (Broken back-compat)

WordPress Trac noreply at wordpress.org
Mon Mar 2 07:44:43 UTC 2020


#49282: Cleanup Privacy .wp-policy-help CSS remnants (Broken back-compat)
------------------------------------------------+-----------------------
 Reporter:  garrett-eclipse                     |       Owner:  azaozz
     Type:  defect (bug)                        |      Status:  reopened
 Priority:  normal                              |   Milestone:  5.4
Component:  Privacy                             |     Version:  4.9.6
 Severity:  normal                              |  Resolution:
 Keywords:  needs-docs has-patch needs-testing  |     Focuses:  css
------------------------------------------------+-----------------------
Changes (by garrett-eclipse):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Thanks @pputzer I agree considering the documentation makes no mention of
 the `.wp-suggested-text` div.
 Docs Reference - https://developer.wordpress.org/plugins/privacy
 /suggesting-text-for-the-site-privacy-policy/

 Also with the UI changing in #44621 the plugins that haven't adopted this
 div aren't styled consistently leading to a non-consistent UI.

 In [https://core.trac.wordpress.org/attachment/ticket/49282/49282.3.diff
 49282.3.diff] I've updated the selectors which brings conformity across
 core and plugin suggested privacy text. As well I added a 1em bottom
 margin to ensure the white background tutorial sections don't butt up
 against the Copy button.

 Reopening to revisit and hopefully have the UI changes in 5.4 apply to
 plugins as well as core.

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


More information about the wp-trac mailing list