Skip to content

Commit

Permalink
Block Editor: Add inert polyfill to iframe (#47398)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Jan 25, 2023
1 parent c3c33b9 commit de4a160
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/compat/wordpress-6.2/script-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ static function () use ( $style ) {
function gutenberg_resolve_assets_override() {
global $pagenow;

$script_handles = array();
$script_handles = array(
'wp-polyfill',
);
// Note for core merge: only 'wp-edit-blocks' should be in this array.
$style_handles = array(
'wp-edit-blocks',
Expand Down

1 comment on commit de4a160

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in de4a160.
Some 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.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4005011067
📝 Reported issues:

Please sign in to comment.