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

WordPress Trac noreply at wordpress.org
Fri Jan 24 01:30:04 UTC 2020


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

 * keywords:  2nd-opinion needs-docs => needs-docs needs-patch
 * milestone:  Awaiting Review => 5.4


Comment:

 Replying to [comment:1 garrett-eclipse]:
 > The specialized class `.privacy-policy-tutorial` should probably be
 added to the docblock for `wp_add_privacy_policy_content` so it's
 mentioned in the function reference and then we can also mention it in the
 handbook here;

 Yep, good idea.

 > their tutorial text is being copied along with the suggested text...

 Yeah, can (probably) add the old class to
 https://core.trac.wordpress.org/browser/tags/5.3.2/src/wp-
 admin/css/edit.css#L732 so the content is hidden when copying the text
 (the way that works is the browser would only copy the visible text, so we
 hide the explanatory parts temporarily just before copying, then show them
 again). Looks like it would only need to add the `.hide-privacy-policy-
 tutorial .wp-policy-help` selector there.

 Regarding TinyMCE, thinking that CSS should just be removed. Seems it was
 left there unintentionally.

 Could you make a patch? :)

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


More information about the wp-trac mailing list