Make WordPress Core


Ignore:
Timestamp:
03/11/2026 11:38:35 PM (8 months ago)
Author:
adamsilverstein
Message:

Editor: Skip cross-origin isolation for third-party page builders.

Document-Isolation-Policy (DIP) isolates the document and blocks same-origin iframe access that page builders rely on. Skip DIP setup when a third-party page builder overrides the block editor via a custom action query parameter.

Also gates wp_is_client_side_media_processing_enabled() on a secure context check, since SharedArrayBuffer requires a secure context (HTTPS or localhost).

Props adamsilverstein, westonruter, mukesh27, louiswol94, manhar, illuminea.
Fixes #64803.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-schema-setup.php

    r61703 r61947  
    1616        public function set_up() {
    1717                parent::set_up();
     18
     19                // Ensure client-side media processing is enabled so the sideload route is registered.
     20                add_filter( 'wp_client_side_media_processing_enabled', '__return_true' );
    1821
    1922                /** @var WP_REST_Server $wp_rest_server */
Note: See TracChangeset for help on using the changeset viewer.