[wp-trac] [WordPress Trac] #60506: Block Hooks: Newly inserted anchor block doesn't ignore hooked blocks set by filter

WordPress Trac noreply at wordpress.org
Tue Feb 20 13:23:22 UTC 2024


#60506: Block Hooks: Newly inserted anchor block doesn't ignore hooked blocks set
by filter
-----------------------------+------------------------------
 Reporter:  Bernhard Reiter  |       Owner:  Bernhard Reiter
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  6.5
Component:  General          |     Version:  trunk
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by Bernhard Reiter):

 In [changeset:"57666" 57666]:
 {{{
 #!CommitTicketReference repository="" revision="57666"
 Block Hooks: Fix actual/expected order in test assertions.

 In test assertions for the `set_ignored_hooked_blocks_metadata` function,
 the actual value was erroneously passed as the first argument, and the
 expected value as the second. This changeset rectifies this by swapping
 the arguments.

 Follow-up [57627].
 See #60506.
 }}}

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


More information about the wp-trac mailing list