[wp-trac] [WordPress Trac] #54060: kses.php global $allowedxmlentitynames naming
WordPress Trac
noreply at wordpress.org
Sun Nov 21 17:15:41 UTC 2021
#54060: kses.php global $allowedxmlentitynames naming
--------------------------------------+-----------------------------
Reporter: ovidiul | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: Formatting | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"52229" 52229]:
{{{
#!CommitTicketReference repository="" revision="52229"
KSES: Use correct global in `wp_kses_xml_named_entities()`.
This fixes a discrepancy where the the global name used in the function
did not match the one declared at the beginning of `kses.php`, and ensures
that the function gets the correct array of allowed XML entity names.
Includes unit tests.
Follow-up to [48072].
Props ovidiul, costdev, peterwilsoncc, SergeyBiryukov.
Fixes #54060.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54060#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list