[wp-trac] [WordPress Trac] #62801: Improve performance of X-WP-TotalPages queries

WordPress Trac noreply at wordpress.org
Wed Jan 29 16:48:18 UTC 2025


#62801: Improve performance of X-WP-TotalPages queries
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  REST API                             |     Version:  3.7
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch reporter-   |     Focuses:
  feedback                                       |  performance
-------------------------------------------------+-------------------------

Comment (by kadamwhite):

 I believe @joehoyle is correct, if you have (say) 12 items and you did
 `page=3`, you'd get 0 results back but it's not clear if you've just paged
 beyond the maximum or if there's no items at all.

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


More information about the wp-trac mailing list