Commit Graph

3 Commits

Author SHA1 Message Date
Aaron Jorbin
cf38be60a7 Coding Standards: Fix blank spaces.
Nice to meet you, where you been?

See #63168.

Built from https://develop.svn.wordpress.org/trunk@61036


git-svn-id: http://core.svn.wordpress.org/trunk@60372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-21 14:03:27 +00:00
Aaron Jorbin
d85e98edf8 Coding Standards: Use preincrment.
Sorry Dennis.

Introduced in [60939].
See #63168.



Built from https://develop.svn.wordpress.org/trunk@61035


git-svn-id: http://core.svn.wordpress.org/trunk@60371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-21 14:01:58 +00:00
dmsnell
d9547eadf7 Blocks: Introduce WP_Block_Processor for efficiently parsing blocks.
The Block Processor follows the HTML API in providing a streaming, near-zero-overhead, lazy, re-entrant parser for traversing block structure. This class provides an alternate interface to `parse_blocks()` which is more amenable to a number of common server-side operations on posts, especially those needing to operate on only a part of a full post.

Developed in https://github.com/WordPress/wordpress-develop/pull/9105
Discussed in https://core.trac.wordpress.org/ticket/61401

Props dmsnell, gziolo, jonsurrell, soean, tjnowell, westonruter.
Fixes #61401.

Built from https://develop.svn.wordpress.org/trunk@60939


git-svn-id: http://core.svn.wordpress.org/trunk@60275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-15 21:53:28 +00:00