Media: Skip cross-origin isolation for third-party page builders#11170
Media: Skip cross-origin isolation for third-party page builders#11170adamsilverstein wants to merge 1 commit intoWordPress:trunkfrom
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 Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
…ation. Remove tests for the page builder action check that was moved to a separate PR (WordPress#11170). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a check to skip Document-Isolation-Policy when a third-party page builder overrides the block editor via a custom action parameter. DIP isolates the document into its own agent cluster, which blocks same-origin iframe access that these editors rely on. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
68f7673 to
3f563a1
Compare
| return; | ||
| } | ||
|
|
||
| // Skip when a third-party page builder overrides the block editor. |
There was a problem hiding this comment.
Which third party page build(s) specifically is known to have an issue that this fixes?
Summary
actionquery parameteraction=editbut replaces the block editor entirely)See discussion: #11098 (comment)
Test plan
actionparameter (e.g.action=elementor) does NOT get DIP headersaction=editis used but the block editor is replaced (e.g. Web Stories)Trac ticket: https://core.trac.wordpress.org/ticket/64803