[wp-trac] [WordPress Trac] #64485: WP_Block_Processor should indicate that inner HTML matches no block type.
WordPress Trac
noreply at wordpress.org
Mon Jan 26 16:10:56 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 fixed-major dev-reviewed | Focuses:
has-unit-tests |
-------------------------------------------------+-------------------------
Changes (by jonsurrell):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"61528" 61528]:
{{{
#!CommitTicketReference repository="" revision="61528"
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
Reviewed by jonsurrell.
Merges [61452] to the 6.9 branch.
Props dmsnell.
Fixes #64485.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64485#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list