[wp-trac] [WordPress Trac] #60360: Make WP_Theme_JSON to sanitize data on indexed arrays
WordPress Trac
noreply at wordpress.org
Sat Mar 2 13:39:59 UTC 2024
#60360: Make WP_Theme_JSON to sanitize data on indexed arrays
-------------------------------------------------+-------------------------
Reporter: mmaattiiaass | Owner:
| youknowriad
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 6.5
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: gutenberg-merge has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"57751" 57751]:
{{{
#!CommitTicketReference repository="" revision="57751"
Editor: Simplify sanitization code path in `WP_Theme_JSON` after [57496]
Removes the custom `WP_Theme_JSON::is_assoc()` method again in favor of
the existing `wp_is_numeric_array()` helper function.
Props mmaattiiaass, costdev, swissspidy, spacedmonkey.
Fixes #60360.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60360#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list