Make WordPress Core


Ignore:
Timestamp:
03/19/2026 09:16:06 PM (2 months ago)
Author:
luisherranz
Message:

Interactivity API: fix data-wp-bind skipping valid directives after encountering an invalid one

Change return to continue in data_wp_bind_processor so that when an element has multiple data-wp-bind directives and one is invalid (empty suffix or unique ID), the invalid entry is skipped instead of causing the entire function to exit, allowing valid directives on the same element to still be processed.

Props DAreRodz, ozgursar, alexodiy.
Fixes #64518.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.