[wp-trac] [WordPress Trac] #64035: Media / Attachments REST API endpoint: update attachments controller to support flip and to customize attachment fields
WordPress Trac
noreply at wordpress.org
Wed Sep 24 05:15:56 UTC 2025
#64035: Media / Attachments REST API endpoint: update attachments controller to
support flip and to customize attachment fields
-------------------------+-----------------------------
Reporter: ramonopoly | Owner: (none)
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: minor | Keywords:
Focuses: rest-api |
-------------------------+-----------------------------
The Media Library editor allows flipping an object and also updating image
metadata.
The Media / Attachments REST API `/media/{$id}/edit` endpoint is currently
used to edit images in the block editor, but has limited capability in
terms of editing functions.
An incremental approach is preferred here, but a first step to enhance
media editor capabilities as described in
[https://github.com/WordPress/gutenberg/issues/55238 Phase 3:
Collaboration > Media Library] is to add this functionality, namely:
- the ability to flip an image horizontally and vertically
- the ability to send arguments to update the new image's caption,
description, and title, post and alt_text fields.
[https://github.com/WordPress/gutenberg/pull/71861 Gutenberg PR 71861] is
underway, which will be followed by a Core backport patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64035>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list