[wp-trac] [WordPress Trac] #64418: Valid CSS is causing failure in the Additional CSS panel
WordPress Trac
noreply at wordpress.org
Mon Jan 26 15:17:18 UTC 2026
#64418: Valid CSS is causing failure in the Additional CSS panel
-------------------------------------------------+-------------------------
Reporter: drw158 | Owner: jonsurrell
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: Customize | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests dev- | Focuses: css
feedback |
-------------------------------------------------+-------------------------
Changes (by jonsurrell):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"61527" 61527]:
{{{
#!CommitTicketReference repository="" revision="61527"
Customize: Allow arbitrary custom CSS.
Update custom CSS validation to allow any CSS except `STYLE` close tags.
Previously, some valid CSS would be rejected for containing HTML syntax
characters, like this example:
{{{
@property --animate {
syntax: "<custom-ident>"; /* <-- Validation error on `<` */
inherits: true;
initial-value: false;
}
}}}
Developed in https://github.com/WordPress/wordpress-develop/pull/10667.
Follow-up to [61418], [61486].
Props jonsurrell, westonruter, peterwilsoncc, johnbillion, xknown,
sabernhardt, dmsnell, soyebsalar01, dlh.
Fixes #64418.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64418#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list