[wp-trac] [WordPress Trac] #55677: Improve Media REST API endpoint

WordPress Trac noreply at wordpress.org
Thu May 26 23:39:31 UTC 2022


#55677: Improve Media REST API endpoint
--------------------------------------+------------------------------
 Reporter:  furi3r                    |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+------------------------------

Comment (by gdetassigny):

 I've added a patch to fix this.
 Something worth noting : while this issue was reported about the
 attachments rest endpoint, this actually is a potential issue for any post
 type. It's probably more apparent on attachments because they're more
 likely to have a completely empty collection.

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


More information about the wp-trac mailing list