[wp-trac] [WordPress Trac] #63668: Media / REST API: Support specifying multiple media types or mime types when listing media
WordPress Trac
noreply at wordpress.org
Thu Oct 9 05:21:29 UTC 2025
#63668: Media / REST API: Support specifying multiple media types or mime types
when listing media
-------------------------------------------------+-------------------------
Reporter: talldanwp | Owner: ramonopoly
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting
| Review
Component: REST API | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch changes-requested has- | Focuses: rest-api
unit-tests dev-feedback |
-------------------------------------------------+-------------------------
Changes (by ramonopoly):
* owner: (none) => ramonopoly
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"60917" 60917]:
{{{
#!CommitTicketReference repository="" revision="60917"
Attachments REST API endpoint: add support for filtering attachments by
multiple media types
This patch enhances the REST API media endpoint to allow filtering by
multiple values for the media_type and mime_type parameters. String,
comma-separated values and array are supported.
Props abcd95, ramonopoly, andrewserong, mukesh27, adamsilverstein,
timothyblynjacobs, swissspidy.
Fixes #63668.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63668#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list