[wp-trac] [WordPress Trac] #60671: If you hook some blocks with Block Hooks API, slashes are stripped from template part block attributes

WordPress Trac noreply at wordpress.org
Mon Mar 11 12:52:35 UTC 2024


#60671: If you hook some blocks with Block Hooks API, slashes are stripped from
template part block attributes
-------------------------------------------------+-------------------------
 Reporter:  karolmanijak                         |       Owner:  Bernhard
                                                 |  Reiter
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.5
Component:  Revisions                            |     Version:  trunk
 Severity:  major                                |  Resolution:
 Keywords:  has-patch dev-feedback has-unit-     |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by Bernhard Reiter):

 In [changeset:"57799" 57799]:
 {{{
 #!CommitTicketReference repository="" revision="57799"
 Block Hooks: Remove filter global reset from test teardown.

 Resetting the `$wp_current_filter` global during test teardown is
 unnecessary, as it is taken care of by the unit test's base class.

 This changeset removes the reset accordingly.

 Follow-up [57790].
 Props swissspidy, timothyblynjacobs.
 See #60671.
 }}}

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


More information about the wp-trac mailing list