[wp-trac] [WordPress Trac] #59385: Blocks: Implement block insertion functions

WordPress Trac noreply at wordpress.org
Wed Sep 20 16:48:00 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:
-----------------------------+------------------------------

Comment (by Bernhard Reiter):

 In [changeset:"56634" 56634]:
 {{{
 #!CommitTicketReference repository="" revision="56634"
 Blocks: Revert implementation of block insertion functions.

 In [56618], three functions (`insert_inner_block`, `prepend_inner_block`,
 and `append_inner_block`) were introduced. They were meant to be used for
 insertion of hooked blocks; however, it was discovered that the original
 idea wouldn't work for sibling insertion. Instead, a different approach
 will be taken (see #59412), and these functions are no longer needed and
 can thus be removed.

 Reverts [56618].
 See #59412, #59385, #59313.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59385#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list