[wp-trac] [WordPress Trac] #59385: Blocks: Implement block insertion functions
WordPress Trac
noreply at wordpress.org
Tue Sep 19 12:35:05 UTC 2023
#59385: Blocks: Implement block insertion functions
-----------------------------+------------------------------
Reporter: Bernhard Reiter | Owner: Bernhard Reiter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: commit | Focuses:
-----------------------------+------------------------------
Changes (by Bernhard Reiter):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"56618" 56618]:
{{{
#!CommitTicketReference repository="" revision="56618"
Blocks: Implement block insertion functions.
For #59313, we need to implement functions to insert a given parsed block
into another parsed block's inner blocks, and to prepend and append to
that array, respectively.
We will use those functions in combination with
`traverse_and_serialize_blocks` (see #59327) to implement automatic
insertion of hooked blocks into block templates and patterns.
Props gziolo.
Fixes #59385.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59385#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list