[wp-trac] [WordPress Trac] #59743: Block Hooks: Allow child insertion into Navigation block

WordPress Trac noreply at wordpress.org
Wed Feb 7 10:54:49 UTC 2024


#59743: Block Hooks: Allow child insertion into Navigation block
-----------------------------+--------------------------------
 Reporter:  Bernhard Reiter  |       Owner:  (none)
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Editor           |     Version:
 Severity:  normal           |  Resolution:  reported-upstream
 Keywords:  has-patch        |     Focuses:
-----------------------------+--------------------------------

Comment (by youknowriad):

 In [changeset:"57550" 57550]:
 {{{
 #!CommitTicketReference repository="" revision="57550"
 Editor: Update PHPDoc for block bindings's context arg.

 The context argument passed to the hooked_block_types filter can also be a
 Post object
 in the case of the navigation block.
 This adapts the PHPDoc accordingly.

 Props bernhard-reiter, gziolo.
 See #59743.
 }}}

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


More information about the wp-trac mailing list