[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
Mon Jul 7 08:32:43 UTC 2025
#63668: Media / REST API: Support specifying multiple media types or mime types
when listing media
-------------------------+------------------------------
Reporter: talldanwp | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses: rest-api
-------------------------+------------------------------
Comment (by abcd95):
Thanks @talldanwp, for the ticket.
I agree with the proposal and think this case should be considered and
included.
I have tried to implement the functionality where it works with both
comma-separated strings (e.g., media_type=image,video) and arrays, while
remaining fully backward-compatible with existing requests.
Any better approaches are always welcome.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63668#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list