[wp-trac] [WordPress Trac] #64485: WP_Block_Processor should indicate that inner HTML matches no block type.
WordPress Trac
noreply at wordpress.org
Thu Jan 8 23:44:09 UTC 2026
#64485: WP_Block_Processor should indicate that inner HTML matches no block type.
--------------------------+----------------------
Reporter: dmsnell | Owner: dmsnell
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9.1
Component: Editor | Version: 6.9
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+----------------------
Changes (by dmsnell):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"61452" 61452]:
{{{
#!CommitTicketReference repository="" revision="61452"
Block Processor: Fix is_block_type() for inner HTML
Previously, the WP_Block_Processor class was making a mistake in
mis-reporting whether a token matches a block type when #innerHTML spans
are involved.
This patch fixes the logic, which was originally written before a
distinction between inner HTML and top-level freeform content was built.
Developed in https://github.com/WordPress/wordpress-develop/pull/10701
Discussed in https://core.trac.wordpress.org/ticket/64485
Fixes #64485.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64485#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list