[wp-trac] [WordPress Trac] #59646: Block Hooks: Enable for user-modified templates/parts/patterns

WordPress Trac noreply at wordpress.org
Mon Oct 30 10:33:23 UTC 2023


#59646: Block Hooks: Enable for user-modified templates/parts/patterns
-----------------------------+------------------------------
 Reporter:  Bernhard Reiter  |       Owner:  Bernhard Reiter
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  6.5
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by Bernhard Reiter):

 Per discussion with @gziolo and @matveb, we'll indeed wrap the
 `ignoredHookedBlocks` property in the `metadata` attribute, i.e.

 {{{
 <!-- wp:navigation {"metadata":{"blockHooks":["mycommerce/mini-cart"]}}
 -->
 }}}

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


More information about the wp-trac mailing list