[wp-trac] [WordPress Trac] #55356: Use safecss_filter_attr() instead of wp_strip_all_tags() in wp_get_layout_style()

WordPress Trac noreply at wordpress.org
Wed Mar 9 17:51:50 UTC 2022


#55356: Use safecss_filter_attr() instead of wp_strip_all_tags() in
wp_get_layout_style()
----------------------------+-----------------------------
 Reporter:  grapplerulrich  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Formatting      |    Version:  5.9
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Now that [https://core.trac.wordpress.org/ticket/46197 #46197] has been
 patched, `safecss_filter_attr()` can be used instead of
 `wp_strip_all_tags()`.

 Introduced in [https://github.com/WordPress/gutenberg/pull/33359
 Gutenberg#33359].


 https://github.com/WordPress/WordPress/blob/5.9-branch/wp-includes/block-
 supports/layout.php#L57

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55356>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list