WordPress/wp-includes/interactivity-api
luisherranz 634f735534 Interactivity API: Allow server derived state to appear in non-final position
In some cases, derived state returns an associative array. Directives may wish to continue to access properties of the associative array, when using the syntax `state.arrayReturnedByClosure.property`. This patch continues evaluating the path after the associative array has been returned by the Closure.

Reviewed by adamsilverstein and gziolo.
Merges [58825] to the 6.6 branch.

Props jonsurrell, luisherranz, adamsilverstein, gziolo.

Fixes #61741.
Built from https://develop.svn.wordpress.org/branches/6.6@58869


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-08-08 11:30:18 +00:00
..
class-wp-interactivity-api-directives-processor.php Interactivity API: Print debug warning when server directives processing encounters errors 2024-06-04 07:18:17 +00:00
class-wp-interactivity-api.php Interactivity API: Allow server derived state to appear in non-final position 2024-08-08 11:30:18 +00:00
interactivity-api.php Interactivity API: Directives cannot derive state on the server 2024-06-04 11:01:16 +00:00