Make WordPress Core


Ignore:
Timestamp:
03/20/2026 05:09:14 PM (8 days ago)
Author:
adamsilverstein
Message:

Media: Remove client-side media processing feature for now.

Punt the wasm-vips client-side media processing feature to a future release when it can include more features. The VIPS WASM worker adds too much build size overhead for the current value provided. Removes all PHP functions, REST API endpoints, cross-origin isolation infrastructure, VIPS script module handling, build configuration, and associated tests.

Props adamsilverstein, jorbin.
Fixes #64906.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-modules.php

    r62072 r62081  
    191191        }
    192192
    193         // VIPS files are always minified — the non-minified versions are not
    194         // shipped because they are ~10MB of inlined WASM with no debugging value.
    195         if ( str_starts_with( $file_name, 'vips/' ) ) {
    196             $file_name = str_replace( '.js', '.min.js', $file_name );
    197         } elseif ( '' !== $suffix ) {
     193        if ( '' !== $suffix ) {
    198194            $file_name = str_replace( '.js', $suffix . '.js', $file_name );
    199195        }
Note: See TracChangeset for help on using the changeset viewer.