[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:30:49 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 TimothyBlynJacobs):

 Yep, those are exactly the tickets I was thinking of. Thanks for digging
 them up!

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64073#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list