Blog
SavedSearch
Visit Hostlelo

WordPress 7.2 Uploads: Check the Isolation Header and Embeds

WordPress 7.2 resizes images in Chrome before upload. Check in five minutes if it works on your site, what it means for embeds, and how to turn it off.

The short answer

WordPress 7.2, due on 8 December 2026, resizes images inside Chrome and Edge 137 or later, and every other browser or low-spec device falls back to normal server uploads. It needs the header Document-Isolation-Policy: isolate-and-credentialless on the editor and, if you use a Content-Security-Policy, a worker-src rule that allows blob:. Same-origin iframes in the editor can stop responding, while CDN-offloaded images now load more reliably than in 7.1. To turn it off, add the wp_client_side_media_processing_enabled filter returning false.

Reading options

On this page

Yes, on most servers it will simply work, because the resizing happens in the browser and your server only receives the finished files. When the browser or device does not qualify, WordPress 7.2 quietly falls back to the old server-side upload, so nothing breaks for the person uploading. The things that can trip you up are a strict Content-Security-Policy header and same-origin iframes inside the editor, and you can switch the feature off with one filter.

Here is the surprising part. From 8 December 2026, the same photo dragged into the same post can be processed in two different places depending on who drags it: on the editor's laptop if they use Chrome 137 or newer, and on your server if they use Firefox or Safari. If you only ever test in one browser, you have only tested half of your site.

By the end of this guide you will be able to check in five minutes whether client-side processing is active on your site, and then either fix the header setting that blocks it or switch it off cleanly.

What client-side media processing actually is

Until now, when you uploaded a photo, WordPress sent the full original file to your server. The server then used GD or Imagick (the two image libraries PHP usually ships with) to make every thumbnail and size your theme needs.

In WordPress 7.2, a supported browser does that work first. According to the block editor handbook, the browser performs compression, resizing, format conversion, rotation and thumbnail generation before upload. It uses wasm-vips, which is the libvips image library compiled to WebAssembly (a format that lets fast compiled code run inside the browser). The work runs in a Web Worker, a background thread, so the editor does not freeze while it happens.

Think of it like chopping vegetables at home before taking a dish to a friend's dinner. The friend's kitchen still gets the food, but their stove and knives do far less work. If you forget your knife, the friend chops it for you as before. That fallback is the important part: when any check fails, WordPress "transparently falls back to traditional server-side processing" and the user sees no difference.

There is one catch. To run that fast threaded code, the browser needs something called SharedArrayBuffer, and browsers only allow it on pages that are cross-origin isolated (locked into their own process so other sites cannot peek at their memory). WordPress achieves that isolation with a response header:

Document-Isolation-Policy: isolate-and-credentialless

Who gets the new upload path

Every one of these checks must pass. If even one fails, the upload goes through the server exactly as it did in 7.1.

  • Browser: Chrome 137 or later, or Edge 137 or later. WordPress checks this from the browser's User-Agent string.
  • Browser features: WebAssembly, SharedArrayBuffer and Web Workers must all be available.
  • Security policy: if your site sends a Content-Security-Policy header, its worker-src rule must allow blob: workers.
  • Memory: the device must report more than 2 GB.
  • Processor: at least 2 CPU cores.
  • Network: the connection must not report as 2g or slow-2g, and the browser's Save-Data mode must be off. 3g and faster are fine.

At the time of writing (1 December 2026), Firefox and Safari do not support Document-Isolation-Policy, so uploads from those browsers use server-side processing. Google's own announcement says the policy shipped in Chrome 137 for desktop only, with Android planned later.

Why this matters: your server does not need any new software for this. What it needs is to stay out of the way: no header or plugin that blocks the browser from isolating the editor page.

Which screens are isolated

WordPress does not isolate the whole dashboard. The header goes out on these screens:

  • The post and page editor, including new posts.
  • The Site Editor.
  • The Widgets screen.
  • The Media Library in grid mode, and the Add New Media File screen.

The Media Library is only isolated in grid mode, because list mode uploads go through the Add New Media File screen. The Customizer, the Site Icon picker, the classic editor's media modal, and any screen where a plugin sends its own header stay on classic server uploads.

Admin pages that carry an action parameter other than edit are skipped on purpose. The handbook says some third-party page builders may also suppress the header, so a builder screen is likely to stay on the server path.

Before you start

  • A copy of Chrome or Edge, version 137 or newer, on a desktop computer.
  • A copy of Firefox or Safari as well, so you can compare the fallback.
  • An admin login to the site, ideally a staging copy first.
  • File access (SFTP, your host's file manager, or SSH) if you plan to edit .htaccess, nginx config or add a small must-use plugin.
  • A fresh backup of files and database before you change any server config.
  • Risk level: low. The checks below only read. The CSP edit touches a security header, so test it on staging first.

If you have not set up a staging site yet, the steps in our guide to testing WordPress 7.2 on staging cover that.

Check what your site will do

Run these on 7.2, or on a staging copy running the release candidate.

Step 1: Confirm the WordPress version

If you have WP-CLI (the command-line tool for WordPress), this prints the installed version.

wp core version

You should see a version starting with 7.2. If you do not have WP-CLI, ask your host or check the version on your dashboard's updates screen.

Step 2: Check whether the editor page is isolated

Open a new post in Chrome or Edge 137 or later, then open the browser console at Chrome > DevTools > Console. Paste this line and press Enter.

window.crossOriginIsolated

MDN describes this property as a read-only boolean that "indicates whether the document is cross-origin isolated". If it prints true, the page is isolated and client-side processing can run. If it prints false, something stopped the isolation, and the next step tells you what.

Quick tip: run the same line in Firefox or Safari. It should print false there. That is expected and means those editors will use your server.

Step 3: Look at the response header

Stay in DevTools and open DevTools > Network. Reload the editor page, click the first request (the one named post-new.php or post.php), and open its Headers tab. Under the response headers you should find this line.

Document-Isolation-Policy: isolate-and-credentialless

If the header is there and Step 2 printed true, isolation works, and Step 4 checks the last setting that can still block processing. If the header is missing, a plugin or page builder is likely suppressing it, or something in front of your server is stripping it.

Step 4: Check your Content-Security-Policy

A Content-Security-Policy (CSP) is a header that tells the browser which sources a page is allowed to load scripts, images and workers from. Many security plugins and hosts add one. This command shows whether your public pages send one.

curl -sI https://example.com/ | grep -i content-security-policy

If the command prints nothing, your front end sends no CSP header, which is a good sign. Your admin pages can still have their own, so also check the same Headers tab from Step 3 for a Content-Security-Policy line.

If you find a policy, read it for worker-src. When worker-src is missing, browsers fall back to child-src, then script-src, then default-src to decide which workers may run. So a policy with default-src 'self' and nothing else would block the blob: worker WordPress needs.

Step 5: List plugins that might send their own headers

This WP-CLI command lists the active plugins so you can spot security, header, page builder and media offload plugins.

wp plugin list --status=active --fields=name,status,version

Must-use plugins do not show up in that list. This one lists them separately.

wp plugin list --status=must-use

Step 6: Upload a test image and check your embeds

Upload one large JPEG into a post in Chrome, then do the same in Firefox. Both should finish and both should show up with the usual sizes in your Media Library. Then preview a post that contains your usual embeds (videos, maps, forms) and open the editor for a post built with your page builder, if you use one.

Here is a made-up example to show why this step matters. Imagine Priya runs a small travel blog. In Chrome her uploads suddenly feel faster, but her custom map block, which loads a same-origin iframe from her own domain, stops responding inside the editor. In Firefox everything looks normal. Nothing is wrong with her server. The editor page is now isolated, and the WordPress media post warns that "Isolating a screen blocks same-origin access to iframes that are not isolated too." Google's Chrome post says the same thing: isolated pages lose synchronous DOM access to same-origin iframes that are not isolated, though postMessage still works.

Fix a CSP that blocks the worker

The handbook gives this example of a policy that allows the worker.

Content-Security-Policy: worker-src 'self' blob:;

The safe way to apply it is to add worker-src 'self' blob: to the policy you already have. Do not add a second Content-Security-Policy header next to the old one. MDN explains that adding more policies "can only further restrict" what a page may do, so a second header cannot loosen a strict first one.

Heads up: if you are still shaping your CSP, roll changes out in report-only mode first. Our Content-Security-Policy report-only guide walks through that.

Apache (.htaccess)

Apache sets response headers with the Header directive from mod_headers, which is allowed in .htaccess when the FileInfo override is enabled. The set action replaces any earlier header of the same name, and the always condition also adds it to error responses. This example shows a line that sets only the worker rule. If your existing line has other directives, keep all of them and add worker-src 'self' blob:; at the end, because set replaces the whole header.

<IfModule mod_headers.c>
    Header always set Content-Security-Policy "worker-src 'self' blob:;"
</IfModule>

Apache's docs note that the onsuccess and always header tables are separate. If an older line elsewhere sets the same header without always, you can end up with two copies, so search your .htaccess and vhost files for Content-Security-Policy and keep only one.

nginx

nginx adds response headers with add_header, which works in http, server and location blocks. The always parameter sends the header with every response code. This example goes inside the server block for your site. As with Apache, if you already send a policy, edit that line and add worker-src 'self' blob:; to its value instead of pasting a second header.

add_header Content-Security-Policy "worker-src 'self' blob:;" always;

This tests the configuration and, only if the test passes, reloads nginx.

sudo nginx -t && sudo nginx -s reload

If the new configuration had an error, the nginx docs say the running server rolls back and keeps the old configuration.

One nginx rule catches many people out. The docs say add_header directives "are inherited from the previous configuration level if and only if there are no add_header directives defined on the current level." If your location ~ \.php$ block has its own add_header lines, the server-level CSP does not reach PHP pages such as the editor. Put the CSP line in that block too.

Cloudflare in front of your site

If your CSP is set by Cloudflare rather than your server, edit it where it lives. In the Cloudflare dashboard, go to Rules > Overview > Create rule > Response Header Transform Rule for a new rule, or edit the existing rule that sets Content-Security-Policy. A Set static operation overrides any header of the same name from your origin, so the value you type there is the one visitors get. Add worker-src 'self' blob: to that value and select Deploy.

Also check that no rule uses Remove on Document-Isolation-Policy. Cloudflare notes that the remove operation deletes every response header with that name, and later rules can overwrite earlier ones.

For a broader look at where headers are set on each server type, see our post on checking security headers in Apache and nginx.

Embeds and CDN-offloaded images

WordPress 7.1 added crossorigin="anonymous" to cross-origin resources in the editor. The 7.2 media post explains why that caused trouble: forcing the attribute "turns a subresource load into a CORS request", and that request fails for any host that does not send Access-Control-Allow-Origin. Media offloaded to a CDN or cloud bucket was the usual victim.

In 7.2 the editor stops rewriting the page, and the attribute is gone. With isolate-and-credentialless, cross-origin images, scripts and media "load without credentials instead of being blocked", so offloaded images that do not send CORS headers should load. Without credentials means cookies and HTTP login details are left off those requests.

That leaves two real risks:

  • Same-origin iframes inside the editor, such as a block that embeds a page from your own domain, lose direct script access to the editor page.
  • Cross-origin resources that need a login cookie to load will arrive without it.

Why this matters for developers: 7.2 deprecates wp_start_cross_origin_isolation_output_buffer() and wp_add_crossorigin_attributes(). The new wp_send_document_isolation_policy_header() replaces the first one, and the second has no direct replacement. A header a plugin sends itself does not count toward core's isolation check, so plugins should call the core function instead.

How to switch it off

Option 1: Turn it off for the whole site

This filter makes every upload go through async-upload.php, the classic server path, which works as it did in 7.1. The cleanest home for it is a must-use plugin, a PHP file in wp-content/mu-plugins that WordPress loads automatically without activation. These commands, run from your WordPress root folder, create one.

mkdir -p wp-content/mu-plugins
cat > wp-content/mu-plugins/disable-client-media.php <<'EOF'
<?php
add_filter( 'wp_client_side_media_processing_enabled', '__return_false' );
EOF

WordPress only loads PHP files sitting directly inside mu-plugins, not in subfolders, so keep the file at that level. To undo it later, delete the file. Must-use plugins cannot be switched off from wp-admin.

Option 2: Keep it for admins only

This version, adapted from the handbook, turns processing off for any user who lacks the manage_options capability.

<?php
add_filter( 'wp_client_side_media_processing_enabled', 'example_disable_for_non_admins' );

function example_disable_for_non_admins( $enabled ) {
    if ( ! current_user_can( 'manage_options' ) ) {
        return false;
    }
    return $enabled;
}

Save it as its own file in wp-content/mu-plugins, the same way as Option 1.

Option 3: Change what it produces instead

If only the output bothers you, the usual filters still apply. For example, the big image threshold defaults to 2560 pixels, and this lowers it to 1920.

<?php
add_filter( 'big_image_size_threshold', function () {
    return 1920;
} );

How to check it worked

After a CSP fix, reload the editor in Chrome 137 or later and run the console check again.

window.crossOriginIsolated

Expected result: true. Then confirm your live header carries the worker rule.

curl -sI https://example.com/ | grep -i content-security-policy

Expected result: one line that contains worker-src 'self' blob:. If you see two Content-Security-Policy lines, remove the duplicate.

After switching the feature off, upload an image in Chrome and watch DevTools > Network. Expected result: a request to async-upload.php for the upload, the same as in Firefox. Confirm the must-use plugin is loaded with this command.

wp plugin list --status=must-use

Expected result: a row for disable-client-media.

After an embed or CDN check, open a post with offloaded images in the editor. Expected result: images display and the console shows no CORS errors for your CDN domain.

Troubleshooting

Problem: window.crossOriginIsolated prints false in Chrome 137 or later. Likely cause: the Document-Isolation-Policy header is not reaching the browser. Fix: confirm you are on the post editor and not a page builder screen, check the response headers in DevTools > Network, and look for plugins or CDN rules that remove headers.

Problem: the header is present but uploads still use the server. Likely cause: the worker is blocked by CSP, or a filter returns false. Fix: add blob: to worker-src in your existing policy, and search your theme and plugins for wp_client_side_media_processing_enabled.

Problem: it works on your laptop but not on a colleague's. Likely cause: their device has 2 GB of memory or less, fewer than 2 CPU cores, a slow connection, or Save-Data turned on. Fix: nothing to fix. The handbook says these thresholds are not configurable, and those uploads fall back to the server safely.

Problem: an image optimisation plugin stopped running on new uploads. Likely cause: the hooks wp_image_editors, image_make_intermediate_size and image_memory_limit never fire on the client path. Fix: ask the plugin author whether they support 7.2, or turn client-side processing off with Option 1 until they do.

Problem: the upload shows "image transcoding error". Likely cause: the file is not a format the browser pipeline handles. Fix: use JPEG, PNG, WebP, AVIF, GIF or HEIC, which are the supported formats.

Problem: a block or plugin panel that uses a same-origin iframe stops responding inside the editor. Likely cause: the isolated editor page cannot script a non-isolated iframe. Fix: ask the plugin developer to use postMessage or send the isolation header on their screen, or turn the feature off while you wait.

Pro tips and security notes

  • Do not loosen your CSP more than needed. worker-src 'self' blob: allows workers from your own domain and from blob URLs only. There is no reason to add * or unsafe-eval for this feature.
  • Test with at least one non-Chromium browser after every change, so you see both upload paths.

If you want the wider checklist for the release, our WordPress 7.2 readiness plan covers backups, plugins and themes. This guide only covers the upload path and its header.

The one message worth forwarding

Copy this to your developer or host and swap in your own domain.

Hi, WordPress 7.2 (release date 8 December 2026) can resize uploads in the browser on Chrome and Edge 137+. It needs the header "Document-Isolation-Policy: isolate-and-credentialless" to reach the post editor, and any Content-Security-Policy on wp-admin must include "worker-src 'self' blob:". Could you check that nothing on example.com (server config, security plugin, Cloudflare rule) strips that header or blocks blob: workers? On the editor page, window.crossOriginIsolated should print true in Chrome. If we would rather keep server-side processing, please add a must-use plugin with: add_filter( 'wp_client_side_media_processing_enabled', '__return_false' ); Thanks.

The short version: check window.crossOriginIsolated in Chrome on your editor page today, and you will know before 8 December whether your uploads will move to the browser or stay on your server.

Reader questions

Do I need to install anything on my server for WordPress 7.2 browser uploads?

No. The image work runs in the editor's browser using wasm-vips, so your server only receives the finished files. Your server just needs to avoid blocking the isolation header or blob: workers.

Will my editors on Firefox or Safari notice any change?

No. At the time of writing (1 December 2026) those browsers do not support Document-Isolation-Policy, so their uploads go through the server exactly as in WordPress 7.1.

Does client-side processing work on phones and tablets?

Not in Chrome on Android yet. Google says Document-Isolation-Policy shipped in Chrome 137 for desktop only, with Android planned later, so mobile uploads use the server.

Can I lower the memory or CPU limits so older laptops use the browser path?

No. The block editor handbook says the 2 GB memory and 2 core thresholds are not configurable. Devices below them fall back to the server safely.

Will turning the feature off slow my site down for visitors?

It only changes where new uploads are resized while you edit. It does not change how your pages are served.

Can the browser convert JPEG uploads to WebP?

Yes. The block editor handbook says mapping image/jpeg to image/webp in the `image_editor_output_format` filter converts JPEG uploads to WebP. If a PNG has transparency and the target format is JPEG, the conversion is skipped to preserve the alpha channel.

Sources & further reading

  1. WordPress 7.2 Field Guide (Make WordPress Core)
  2. Media changes in WordPress 7.2 (Make WordPress Core)
  3. Client-side media processing how-to (Block Editor Handbook)
  4. Client-side media architecture (Block Editor Handbook)
  5. Document Isolation Policy (Chrome for Developers)
  6. WordPress 7.2 release page
  7. Window: crossOriginIsolated property (MDN)
  8. CSP worker-src directive (MDN)
  9. Apache mod_headers documentation
  10. nginx ngx_http_headers_module documentation

Originally published . About our editorial updates.

Your next project deserves a better foundation.

Explore hosting built for your next chapter.

Explore hosting

Find your next answer.

Search published guides and articles.

Ctrl / ⌘ K to open · Esc to close