#55356 closed defect (bug) (fixed)
Use safecss_filter_attr() instead of wp_strip_all_tags() in wp_get_layout_style()
Reported by: | grapplerulrich | Owned by: | davidbaumwald |
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | Formatting | Keywords: | has-patch commit |
Focuses: | Cc: |
Description (last modified by )
Now that #46197 has been patched, safecss_filter_attr()
can be used instead of wp_strip_all_tags()
.
Introduced in Gutenberg#33359.
https://github.com/WordPress/WordPress/blob/5.9-branch/wp-includes/block-supports/layout.php#L57
Change History (6)
This ticket was mentioned in PR #2395 on WordPress/wordpress-develop by grappler.
3 years ago
#1
- Keywords has-patch added
#3
@
3 years ago
- Keywords commit added
Hi there!
Thanks for the ticket and patch.
The patch looks good to me. Mark as commit
.
dream-encode commented on PR #2395:
3 years ago
#6
Thanks for the PR! This was merged into Core in https://core.trac.wordpress.org/changeset/52924.
Note: See
TracTickets for help on using
tickets.
safecss_filter_attr
has been patched.Trac ticket: https://core.trac.wordpress.org/ticket/55356