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

WordPress Trac noreply at wordpress.org
Mon Feb 12 13:13:53 UTC 2024


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57594" 57594]:
 {{{
 #!CommitTicketReference repository="" revision="57594"
 Block Hooks: Inject hooked blocks into modified templates and parts.

 Using the new technique introduced in [57157] of using a
 `metadata.ignoredHookedBlocks` attribute in the anchor block to store
 information about whether or not a hooked block should be considered for
 injection, extend said injection to encompass ''modified'' templates and
 parts.

 Fixes #59646.
 Props gziolo, matveb.
 }}}

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


More information about the wp-trac mailing list