[wp-trac] [WordPress Trac] #63854: Handle a non-string passed to WP_HTML_Tag_Processor gracefully
WordPress Trac
noreply at wordpress.org
Wed Oct 1 12:57:35 UTC 2025
#63854: Handle a non-string passed to WP_HTML_Tag_Processor gracefully
---------------------------------------------+----------------------
Reporter: kraftbj | Owner: kraftbj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: HTML API | Version: 6.2
Severity: normal | Resolution: fixed
Keywords: has-unit-tests has-patch commit | Focuses:
---------------------------------------------+----------------------
Changes (by jonsurrell):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"60887" 60887]:
{{{
#!CommitTicketReference repository="" revision="60887"
HTML API: Ensure non-string HTML input is safely handled.
Prevents an issue where passing `null` to HTML API constructors could
result in runtime errors.
Developed in https://github.com/WordPress/wordpress-develop/pull/9545.
Props kraftbj, jonsurrell, westonruter.
Fixes #63854.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63854#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list