[wp-trac] [WordPress Trac] #61401: Blocks: Efficiently find and traverse blocks in a document.
WordPress Trac
noreply at wordpress.org
Mon Nov 24 21:52:33 UTC 2025
#61401: Blocks: Efficiently find and traverse blocks in a document.
---------------------------------------------+-----------------------
Reporter: dmsnell | Owner: dmsnell
Type: feature request | Status: reopened
Priority: normal | Milestone: 6.9
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------
Comment (by dmsnell):
In [changeset:"61294" 61294]:
{{{
#!CommitTicketReference repository="" revision="61294"
Block Processor: Rename `extract_block()` method for clearer
documentation.
In testing during the release candidacy for WordPress 6.9 it was found
that the `extract_block()` method may do more work than is expected
based off of its name.
This change renames the method to `extract_full_block_and_advance()` to
communicate that it does move the Block Processor forward and to hint at
the fact that it also encompasses all inner blocks during that advance.
Developed in https://github.com/WordPress/wordpress-develop/pull/10538
Discussed in https://core.trac.wordpress.org/ticket/61401
Follow-up to [60939].
Props dlh, dmsnell, jonsurrell, westonruter.
See #61401.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61401#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list