[wp-trac] [WordPress Trac] #61531: HTML API: Audit class name methods for consistency and correctness
WordPress Trac
noreply at wordpress.org
Mon Sep 2 22:26:38 UTC 2024
#61531: HTML API: Audit class name methods for consistency and correctness
--------------------------------------+-----------------------------
Reporter: jonsurrell | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: HTML API | Version: 6.5
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Comment (by dmsnell):
In [changeset:"58969" 58969]:
{{{
#!CommitTicketReference repository="" revision="58969"
HTML API: Replace null-bytes in class_list class names
As part of an audit of HTML API CSS behaviors, this patch resolves an
issue with how the HTML API reports class names containing the NULL byte.
NULL bytes should be replaced by the Unicode replacement character,
U+FFFD, but previously weren't. This patch performs that replacement.
Developed in https://github.com/WordPress/wordpress-develop/pull/7187
Discussed in https://core.trac.wordpress.org/ticket/61531
Follow-up to [56703].
Props dmsnell, jonsurrell.
See #61531.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61531#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list