[wp-trac] [WordPress Trac] #64545: Style Engine: Harden add_declaration against being passed illegal values
WordPress Trac
noreply at wordpress.org
Fri Jan 23 05:56:56 UTC 2026
#64545: Style Engine: Harden add_declaration against being passed illegal values
-------------------------------------------------+-------------------------
Reporter: andrewserong | Owner:
| isabel_brison
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: gutenberg-merge has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Changes (by isabel_brison):
* owner: (none) => isabel_brison
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"61516" 61516]:
{{{
#!CommitTicketReference repository="" revision="61516"
Editor: guard against non-string values in style engine.
Checks that the value passed to add_declaration is a string to prevent
fatal errors due to malformed block attributes.
Props andrewserong.
Fixes #64545.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64545#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list