[wp-trac] [WordPress Trac] #64804: REST API: Add finalize endpoint to `WP_REST_Attachments_Controller` for client-side media processing
WordPress Trac
noreply at wordpress.org
Fri Mar 6 08:33:09 UTC 2026
#64804: REST API: Add finalize endpoint to `WP_REST_Attachments_Controller` for
client-side media processing
--------------------------------------+---------------------
Reporter: adamsilverstein | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by divyeshpatel01):
Tested the patch on WordPress trunk.
Applied the patch and verified that the new /wp/v2/media/{id}/finalize
endpoint works correctly.
Confirmed that the wp_generate_attachment_metadata filter is trigger with
context 'update'.
Unit tests pass and functionality works as expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64804#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list