Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#59399 closed enhancement (wontfix)

Blocks: Implement `insert_hooked_blocks()`

Reported by: bernhard-reiter's profile Bernhard Reiter Owned by: bernhard-reiter's profile Bernhard Reiter
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

For #59313, we need a function that will plug into parsed block tree traversal and serialization ([56620]). For each block traversed, it will obtain the list of all hooked blocks that use it as their anchor block (get_hooked_blocks, [56610]), and insert those hooked blocks into the parsed block tree (insert_inner_block, prepend_inner_block, append_inner_block, [56618]).

We'll tentatively call it insert_hooked_blocks.

Change History (1)

#1 @Bernhard Reiter
7 months ago

  • Milestone 6.4 deleted
  • Resolution set to wontfix
  • Status changed from assigned to closed

No longer required per [56649]. Closing as wontfix.

Note: See TracTickets for help on using tickets.