[wp-trac] [WordPress Trac] #8071: Refrain from querying all the comments on a post when paged
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 12 01:13:50 UTC 2010
#8071: Refrain from querying all the comments on a post when paged
-----------------------------+----------------------------------------------
Reporter: markjaquith | Type: enhancement
Status: reopened | Priority: normal
Milestone: Future Release | Component: Comments
Version: 2.7 | Severity: normal
Resolution: | Keywords: needs-patch
-----------------------------+----------------------------------------------
Comment(by scribu):
For threaded comments, something like the following might or might not be
worth implementing:
1. Get the list of all ids and parent ids
2. Build the hierarchy tree
3. Figure out which items are to be displayed now
4. Get all the info for those items, in one go
5. Display
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8071#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list