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

WordPress Trac noreply at wordpress.org
Sun Jan 12 20:06:54 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  |     Focuses:  performance
--------------------------------------+-----------------------------

Comment (by johnbillion):

 Which condition does the `$total_posts < 1` logic handle? ie. why is the
 `found_posts` property not populated in the main query?

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


More information about the wp-trac mailing list