Files
wordpress/wp-includes/script-modules.php
luisherranz fb407f0a14 Interactivity API: Support for loadOnClientNavigation.
Uses the `wp_script_attributes` filter to add a `data-wp-router-options` directive with a `loadOnClientNavigation: true` property for all the interactive blocks that are compatible with client-side navigation to let the Interactivity API router determine which modules it can safely load during client-side navigation.

Props luisherranz, westonruter.
Fixes #64122.
Built from https://develop.svn.wordpress.org/trunk@61019


git-svn-id: http://core.svn.wordpress.org/trunk@60355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-21 11:32:35 +00:00

9.7 KiB