Files
wordpress/wp-includes/interactivity-api/class-wp-interactivity-api.php
Joe McGill d5a86a55ab Interactivity API: Apply the same directive name restrictions as the client.
This adds the same logic to filter directive data attributes to ignore invalid data attributes that is applied in the client to avoid processing directives on the server that will not be processed in the client.

Props jonsurrell, SirLouen.
Fixes #62426.


Built from https://develop.svn.wordpress.org/trunk@60070


git-svn-id: http://core.svn.wordpress.org/trunk@59406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-24 14:53:28 +00:00

44 KiB