[wp-trac] [WordPress Trac] #55966: safecss_filter_attr() returns empty if containing min()
WordPress Trac
noreply at wordpress.org
Wed Sep 7 16:03:49 UTC 2022
#55966: safecss_filter_attr() returns empty if containing min()
----------------------------------------------+----------------------------
Reporter: uxl | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.1
Component: Formatting | Version: 6.0
Severity: major | Resolution:
Keywords: has-patch early needs-unit-tests | Focuses: css
----------------------------------------------+----------------------------
Comment (by cbravobernal):
Replying to [comment:20 SergeyBiryukov]:
> I had to revert the original commit for now due the
WP_Theme_JSON::remove_insecure_properties() test failures, see comment:17.
Removing those tests did not seem like the correct approach, I think they
would need some new examples of unsafe values. Let's address that and re-
commit the patch :)
Happy to look at that :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55966#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list