#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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 |
| Component: | Formatting | Version: | 5.9 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
5 years ago
#1
- Keywords has-patch added
#3
@
5 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:
5 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
safecss_filter_attrhas been patched.Trac ticket: https://core.trac.wordpress.org/ticket/55356