[wp-trac] [WordPress Trac] #64073: Attachments REST API: extend to support ordering by `mime_type`.
WordPress Trac
noreply at wordpress.org
Mon Oct 20 02:33:08 UTC 2025
#64073: Attachments REST API: extend to support ordering by `mime_type`.
--------------------------------------+------------------------------
Reporter: ramonopoly | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+------------------------------
Comment (by ramonopoly):
> I think the difference, and why I'd consider waiting to ship this until
the bug is resolved, is that MIME types are basically never going to be
unique. Most folks will probably only have a few. So users are almost
certainly going to run into broken behavior when trying to use this
feature.
Agree it needs to be fixed. Every patch that has proposed to do so in the
last 20 years has fizzled out.
I've optimistically started a new one!
https://github.com/WordPress/wordpress-develop/pull/10262
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64073#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list