Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interactivity API: Allow missing state negation on server
Aligns on the behavior of the negation operator with directives to missing paths in client and in server. With a directive like the following: {{{ <div data-wp-bind--hidden="!state.missing.property"> This should be hidden by the <code>hidden</code> attribute. </div> }}} Both server and client will return with this fix: {{{ <div data-wp-bind--hidden="!state.missing.property" hidden=""> This should be hidden by the <code>hidden</code> attribute. </div> }}} Reviewed by cbravobernal. Merges [59398] to the 6.7 branch. Props jonsurrell, luisherranz. Fixes #62374. git-svn-id: https://develop.svn.wordpress.org/branches/6.7@59404 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information