[wp-trac] [WordPress Trac] #11381: display_page_row() generates boat loads of needless queries

WordPress Trac noreply at wordpress.org
Mon Sep 14 19:25:01 UTC 2015


#11381: display_page_row() generates boat loads of needless queries
-------------------------------+------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  performance, administration
-------------------------------+------------------------------------------

Comment (by wonderboymusic):

 In [changeset:"34127"]:
 {{{
 #!CommitTicketReference repository="" revision="34127"
 In `WP_Media_List_Table`, fetch all pending comment counts at once,
 instead of for each row in the loop.

 See #11381.
 }}}

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


More information about the wp-trac mailing list