[wp-trac] [WordPress Trac] #59313: Implement Block Hooks

WordPress Trac noreply at wordpress.org
Wed Sep 20 16:48:00 UTC 2023


#59313: Implement Block Hooks
-------------------------------------------------+-------------------------
 Reporter:  Bernhard Reiter                      |       Owner:  Bernhard
                                                 |  Reiter
     Type:  enhancement                          |      Status:  assigned
 Priority:  high                                 |   Milestone:  6.4
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch gutenberg-merge has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

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/59313#comment:84>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list