[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:56:54 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 | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Changes (by cbravobernal):
* keywords: has-patch has-unit-tests =>
Old description:
> 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.
New description:
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.
Co-authored with @santosguillamot
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60743#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list