[wp-trac] [WordPress Trac] #62716: Block Hooks: Absorb logic to set ignored hooked blocks post meta into `apply_block_hooks_to_content`

WordPress Trac noreply at wordpress.org
Thu Mar 13 23:17:37 UTC 2025


#62716: Block Hooks: Absorb logic to set ignored hooked blocks post meta into
`apply_block_hooks_to_content`
---------------------------------------+------------------------------
 Reporter:  Bernhard Reiter            |       Owner:  Bernhard Reiter
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  6.8
Component:  General                    |     Version:
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch gutenberg-merge  |     Focuses:
---------------------------------------+------------------------------
Changes (by jorbin):

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


Comment:

 @audrasjb Being that we should get it decided during this milestone (since
 adding a typehint to already released code could be a backcompat break), I
 don't think a new ticket would be helpful.

 Nullable object hints are used in the Interactivity API and HTML API code
 so restoring them here wouldn't be something that has never been done
 before.

 That said, I did
 [https://wpdirectory.net/search/01JP8W2W7AXQ0KTHWNRB20RYZZ a search to see
 what plugins applying filters to the content are doing] and some are
 passing various things as the second param, so this would break sites
 running those plugins. Therefore, re-closing this.

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


More information about the wp-trac mailing list