[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
Mon Mar 11 10:50:00 UTC 2024


#60743: Interactivity API - SSR won't work if ant render_block_data filter edits
$parsed_block
--------------------------+--------------------
 Reporter:  cbravobernal  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.5
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 As commented in
 https://github.com/WordPress/gutenberg/pull/59057#discussion_r1518417589

 If someone edits the $parsed_block variable, it will fail within the
 Interactivity API SSR processing comparison:
 https://github.com/WordPress/wordpress-
 develop/blob/9a616a573434b432a5efd4de21039250658371fe/src/wp-includes
 /interactivity-api/interactivity-api.php#L49

 It seems that this comparison won't be needed in 6.6, as a md5 bug did not
 allow to add keys to that variable.

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


More information about the wp-trac mailing list