Block Editor: Fix Iframe error for links without 'href'#68024
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If 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. |
|
Size Change: +1 B (0%) Total Size: 1.84 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in ba33e55. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12352202760
|
talldan
left a comment
There was a problem hiding this comment.
Fixes the issue for me. 🚢
|
Thanks for testing, Dan! |
|
I am checking the PRs with the "Backport to WP Minor Release" label applied to clarify which PRs should be backported to the WordPress 6.8.2 release. This PR is part of Gutenberg 20.0. Since the Gutenberg versions in WordPress 6.8 are from 19.4 to 20.4, this PR is already included in the 6.8 release. Therefore, there is no need to backport this PR to 6.8.2. Removing the "Backport to WP Minor Release" label. |
What?
This is a follow-up to #66751.
PR fixes an error when the Iframe component tries to intercept URLs with no
hrefattribute.Why?
The
getAttrobuteresolves tonullwhen a link has nohrefattribute.Testing Instructions
Testing Instructions for Keyboard
Same.
Screenshots or screencast