id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses
49772 Support additional elements (table, ol, ul) in privacy policy guide new styling garrett-eclipse garrett-eclipse "With 5.4 ([https://core.trac.wordpress.org/changeset/47147 r47147] / #44621) the privacy policy guide aesthetic was updated to introduce a white background on the suggested text. In the CSS this only applies to paragraph elements (`
`).
Reviewing some other [https://wpdirectory.net/search/01E4VTZDVQY3Y4JJC8T51WGZHW plugin implementations] there is at minimum a need to also support `
`, ``, and `` elements.
*I've only gone through the top 15 plugins from the link above so further investigation is in order.
This primarily comes from a comment on the woocommerce PR [https://github.com/woocommerce/woocommerce/pull/25576#issuecomment-606632244 here];
> ""Tested in WP 5.0 and 5.3.2, and in both cases the difference is that sections inside the ""Source: WooCommerce"" section appear in italics after applying the changes; other elements (mostly
- ) appear unchanged. Is this the expected behavior?""
While it refers to pre-5.4 the issue persists and gets worse in 5.4 in that it's not just italics but now padding and background which becomes jarring when it goes from a paragraph (styled) to a list (unstyled) and back to paragraph (styled).
The white background in 5.4 is meant to denote the content being copied and as such should encompass these other elements;
p - already does
h# - shouldn't as the design excludes them
hr - maybe
ul - yes, used in plugins ([https://plugins.trac.wordpress.org/browser/woocommerce/trunk/includes/class-wc-privacy.php#L78 example])
ol - yes, used in plugins ([https://plugins.trac.wordpress.org/browser/the-events-calendar/tags/5.0.3.1/src/admin-views/privacy.php#L33 example])
table - yes, used in plugins - ([https://plugins.trac.wordpress.org/browser/popup-maker/trunk/classes/Privacy.php#L72 example])
div - potentially
... - Open to others as well.
Also note the list items aren't denoted with bullet points in the current design. This makes them look like paragraphs and could be confusing." defect (bug) closed normal 5.4.1 Privacy 5.4 normal fixed has-patch has-screenshots commit ui, css, administration