[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
Thu Mar 14 08:58:03 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 fixed-major dev-    |     Focuses:
  reviewed                                       |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"57830" 57830]:
 {{{
 #!CommitTicketReference repository="" revision="57830"
 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.

 Reviewed by gziolo.
 Merges [57826] to the to the 6.5 branch.

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

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


More information about the wp-trac mailing list