[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
Wed Feb 19 17:12:44 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 johnjamesjacoby):

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


Comment:

 In [changeset:"59839" 59839]:
 {{{
 #!CommitTicketReference repository="" revision="59839"
 Block Hooks: Remove `WP_Post` type hint.

 This change prevents a PHP deprecation notice in the new
 `apply_block_hooks_to_content_from_post_object()` function, introduced in
 r59838.

 Fixes #62716.
 }}}

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


More information about the wp-trac mailing list