[wp-trac] [WordPress Trac] #63891: Processing directives function in interactivity API class may cause fatal error
WordPress Trac
noreply at wordpress.org
Mon Nov 10 22:22:35 UTC 2025
#63891: Processing directives function in interactivity API class may cause fatal
error
---------------------------------------------+-----------------------------
Reporter: hugosolar | Owner: luisherranz
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Interactivity API | Version: 6.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: php-
| compatibility
---------------------------------------------+-----------------------------
Changes (by luisherranz):
* owner: (none) => luisherranz
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"61197" 61197]:
{{{
#!CommitTicketReference repository="" revision="61197"
Interactivity API: Fatal error processing incorrect closed tags.
Fix for fatal errors caused by incorrect closing tags in HTML, such as
`</br>`. In these cases, the `get_attribute_names_with_prefix` method of
the `WP_HTML_Tag_Processor` returns `null`, and the Interactivity API was
not handling this situation correctly.
Props hugosolar, jonsurrell, darerodz.
Fixes #63891.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63891#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list