[wp-trac] [WordPress Trac] #60613: Theme JSON CSS var preset resolution: check for null values
WordPress Trac
noreply at wordpress.org
Tue Feb 27 10:13:29 UTC 2024
#60613: Theme JSON CSS var preset resolution: check for null values
-------------------------------------------------+-------------------------
Reporter: ramonopoly | Owner:
| youknowriad
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: Themes | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests gutenberg- | Focuses:
merge |
-------------------------------------------------+-------------------------
Changes (by youknowriad):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"57716" 57716]:
{{{
#!CommitTicketReference repository="" revision="57716"
Editor: Check for null values in Theme JSON to cater for blockGap.
When resolving theme.json preset variables, add a check to make sure the
value is not empty before we run it through strpos() and preg_match_all().
Props ramonopoly, mukesh27, get_dave.
Fixes #60613.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60613#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list