Repository navigation
[WP 7.2] Interactivity API: Align unsupported data-wp-html bindings with PHP (#86968) - #87015
Conversation
…#86968) * Interactivity API: Align unsupported data-wp-html bindings with WordPress Ignore unsupported unique-ID entries without making descendants inert. Ignore HTML bindings on void and text-only elements before evaluating their references, and keep router region discovery and attachment eligibility aligned. * Fix PR placeholder Co-authored-by: luisherranz <luisherranz@git.wordpress.org> Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org> (cherry picked from commit 50bb307)
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: +302 B (0%) Total Size: 9.08 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. Backspace in
|
This updates the pinned commit hash of the Gutenberg repository from `efd7722f89ebb8abfc3607fffdd86f5e34afbd9c` to `c5bdc7f4898ec98114cdccbe1cacec7a979b85cc` (head of the `wp/7.2` branch). A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@efd7722...c5bdc7f. - Interactivity API: Align unsupported `data-wp-html` bindings with PHP (WordPress/gutenberg#86968) (WordPress/gutenberg#87015) - E2E: Select the link preview by URL in the keyboard test (WordPress/gutenberg#87053) (WordPress/gutenberg#87102) - Update the Update icon. (WordPress/gutenberg#87088) (WordPress/gutenberg#87139) - Editor: Hide parent controls for non-hierarchical post types (WordPress/gutenberg#85679) (WordPress/gutenberg#87150) - SearchableChipSelect: Use a single string for the chips toolbar label (WordPress/gutenberg#87219) (WordPress/gutenberg#87275) - E2E Tests: Switch the theme before the other setup resets (WordPress/gutenberg#86278) - Abilities: Accept a date-time without an offset in the `date-time` schema format (WordPress/gutenberg#86845) (WordPress/gutenberg#87311) - Fix iOS tap into a quote jumping to the caret's block when it's off screen (WordPress/gutenberg#86923) - Place the caret on a tap after the keyboard is swiped away (WordPress/gutenberg#87182) - Writing flow: Keep the browser from deleting into a neighbouring block (WordPress/gutenberg#87188) - Writing flow: Bring back the header iOS slides off screen, once the canvas stops scrolling (WordPress/gutenberg#87316) - List: Drag a list item by its bullet again (WordPress/gutenberg#85801) - MediaEdit: Show the image preview when the MIME type is empty (WordPress/gutenberg#87207) (WordPress/gutenberg#87326) - Block Editor: Fix block hover outline flicker when moving between elements of a block (WordPress/gutenberg#86852) (WordPress/gutenberg#87328) Developed in: #16187 Props peterwilsoncc, mamaduka, linewebdigital, abhishekfdd, oandregal, jorgefilipecosta. See #66340. Fixes #66428. git-svn-id: https://develop.svn.wordpress.org/trunk@65751 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from `efd7722f89ebb8abfc3607fffdd86f5e34afbd9c` to `c5bdc7f4898ec98114cdccbe1cacec7a979b85cc` (head of the `wp/7.2` branch). A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@efd7722...c5bdc7f. - Interactivity API: Align unsupported `data-wp-html` bindings with PHP (WordPress/gutenberg#86968) (WordPress/gutenberg#87015) - E2E: Select the link preview by URL in the keyboard test (WordPress/gutenberg#87053) (WordPress/gutenberg#87102) - Update the Update icon. (WordPress/gutenberg#87088) (WordPress/gutenberg#87139) - Editor: Hide parent controls for non-hierarchical post types (WordPress/gutenberg#85679) (WordPress/gutenberg#87150) - SearchableChipSelect: Use a single string for the chips toolbar label (WordPress/gutenberg#87219) (WordPress/gutenberg#87275) - E2E Tests: Switch the theme before the other setup resets (WordPress/gutenberg#86278) - Abilities: Accept a date-time without an offset in the `date-time` schema format (WordPress/gutenberg#86845) (WordPress/gutenberg#87311) - Fix iOS tap into a quote jumping to the caret's block when it's off screen (WordPress/gutenberg#86923) - Place the caret on a tap after the keyboard is swiped away (WordPress/gutenberg#87182) - Writing flow: Keep the browser from deleting into a neighbouring block (WordPress/gutenberg#87188) - Writing flow: Bring back the header iOS slides off screen, once the canvas stops scrolling (WordPress/gutenberg#87316) - List: Drag a list item by its bullet again (WordPress/gutenberg#85801) - MediaEdit: Show the image preview when the MIME type is empty (WordPress/gutenberg#87207) (WordPress/gutenberg#87326) - Block Editor: Fix block hover outline flicker when moving between elements of a block (WordPress/gutenberg#86852) (WordPress/gutenberg#87328) Developed in: WordPress/wordpress-develop#16187 Props peterwilsoncc, mamaduka, linewebdigital, abhishekfdd, oandregal, jorgefilipecosta. See #66340. Fixes #66428. Built from https://develop.svn.wordpress.org/trunk@65751 git-svn-id: http://core.svn.wordpress.org/trunk@64781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
What?
Backport of #86968 to
wp/7.2. The automatic cherry-pick failed with a conflict: #86968 (comment)How?
git cherry-pick -x 50bb3072b319e835dce21e4a948e76c4447369b5ontowp/7.2. Onlypackages/interactivity/CHANGELOG.mdconflicted: onwp/7.2, theUnreleased→Bug Fixeslist starts with the backported #84924 entry, which trunk has in a released section. I kept both entries and put the #86968 entry at the top of the list, where trunk also puts it. Everything else applied cleanly. All the code, test and README files, and the client-side navigation guide, now match their trunk versions after #86968.directives-and-store.mdonly differs by an unrelatedwp-bindparagraph that isn't onwp/7.2.Testing Instructions
npm run test:unit -- packages/interactivity packages/interactivity-router(passes locally: 29 files, 681 tests).npm run typecheck -- packages/interactivity/tsconfig.json packages/interactivity-router/tsconfig.json,npm run lint:json the changed TypeScript files, andnpm run lint:md:docson the changed docs (all clean).See #86968 for the full description and manual testing steps.
Testing Instructions for Keyboard
Not applicable: no UI changes.
Use of AI Tools
The cherry-pick, conflict resolution, and local checks were done with an AI agent (Claude Code).