Opened 2 months ago
Last modified 2 months ago
#64919 new enhancement
Media: Re-introduce client-side media processing feature
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 7.1 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Media | Keywords: | has-patch has-unit-tests |
| Focuses: | Cc: |
Description
Description:
The client-side media processing feature (wasm-vips) was removed in [62081] (see #64906) because the VIPS WASM worker added too much build size overhead for the value provided at the time.
Once WordPress 7.1 has forked, this ticket re-introduces the feature for the next release cycle.
Changes Restored
Reverts the removal, restoring all:
- PHP functions for client-side media processing (
wp-includes/media.php) - REST API endpoints for attachment processing (
class-wp-rest-attachments-controller.php) - Cross-origin isolation infrastructure (COOP/COEP headers in
class-wp-rest-server.php) - VIPS script module registration (
script-modules.php) - Media templates (
media-template.php) - Default filter hooks (
default-filters.php) - Build configuration (
Gruntfile.js,tools/gutenberg/copy.js) - Associated PHPUnit and QUnit tests
14 files changed, ~1,625 lines restored.
PR
Change History (1)
This ticket was mentioned in PR #11324 on WordPress/wordpress-develop by @adamsilverstein.
2 months ago
#1
- Keywords has-patch has-unit-tests added
Note: See
TracTickets for help on using
tickets.
## Summary
## Test plan
wp-includes/media.phpProps adamsilverstein, jorbin.
See #64906.