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

WordPress Trac noreply at wordpress.org
Tue Jun 14 12:40:43 UTC 2022


#55677: Improve Media REST API endpoint
---------------------------------------------+---------------------------
 Reporter:  furi3r                           |       Owner:  spacedmonkey
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.1
Component:  REST API                         |     Version:  4.7
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  performance
---------------------------------------------+---------------------------
Changes (by spacedmonkey):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53498" 53498]:
 {{{
 #!CommitTicketReference repository="" revision="53498"
 REST API: Avoid duplicated query in post collections.

 Avoid duplicated query when retrieving empty posts collections by adding a
 check if the page is more than 1.

 Props furi3r, gdetassigny, TimothyBlynJacobs, spacedmonkey.
 Fixes #55677.
 }}}

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


More information about the wp-trac mailing list