[wp-trac] [WordPress Trac] #59439: Blocks: Remove `inject_hooked_block_markup` filter

WordPress Trac noreply at wordpress.org
Mon Sep 25 09:12:24 UTC 2023


#59439: Blocks: Remove `inject_hooked_block_markup` filter
------------------------------+------------------------------
 Reporter:  Bernhard Reiter   |       Owner:  Bernhard Reiter
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.4
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------------
Changes (by Bernhard Reiter):

 * owner:  (none) => Bernhard Reiter
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56674" 56674]:
 {{{
 #!CommitTicketReference repository="" revision="56674"
 Blocks: Remove `inject_hooked_block_markup` filter.

 Per discussion in #59424, there's agreement that the new
 `hooked_block_types` filter  (introduced in [56673]) covers conditional
 addition and removal of hooked blocks better and at a higher level than
 the `inject_hooked_block_markup` filter that was originally added in
 [56649] for that same purpose.
 Consequently, this changeset removes the latter filter.

 Props gziolo.
 Fixes #59439.
 }}}

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


More information about the wp-trac mailing list