[wp-trac] [WordPress Trac] #60743: Interactivity API - SSR won't work if ant render_block_data filter edits $parsed_block

WordPress Trac noreply at wordpress.org
Wed Mar 13 10:47:10 UTC 2024


#60743: Interactivity API - SSR won't work if ant render_block_data filter edits
$parsed_block
-------------------------------------------+-------------------------
 Reporter:  cbravobernal                   |       Owner:  swissspidy
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  6.5
Component:  Editor                         |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-feedback  |     Focuses:
-------------------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"57826" 57826]:
 {{{
 #!CommitTicketReference repository="" revision="57826"
 Interactivity API: Increase hook priority for processing directives.

 Use a priority of 100 to ensure that other filters can add additional
 directives before the processing starts.
 This way, directives will be processed even if the `$parsed_block`
 variable is edited by a filter.

 Props cbravobernal, swissspidy, flixos90, joemcgill, gziolo.
 Fixes #60743.
 }}}

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


More information about the wp-trac mailing list