[wp-trac] [WordPress Trac] #8071: Refrain from querying all the comments on a post when paged

WordPress Trac noreply at wordpress.org
Thu Sep 17 22:34:46 UTC 2015


#8071: Refrain from querying all the comments on a post when paged
------------------------------------+---------------------------
 Reporter:  markjaquith             |       Owner:  boonebgorges
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  4.4
Component:  Comments                |     Version:  2.7
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------------

Comment (by boonebgorges):

 [attachment:8071.5.diff] is the first step in generalizing
 wonderboymusic's patches - it splits the query in `WP_Comment_Query`. In
 the process, it normalizes the way that single comments are cached to
 reduce cache misses in certain cases. Posting here for comment (LOLZ)
 before I move on to the next stage.

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


More information about the wp-trac mailing list