[wp-trac] Re: [WordPress Trac] #7635: Threaded Comments
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 30 21:41:48 GMT 2008
#7635: Threaded Comments
-------------------------+--------------------------------------------------
Reporter: ryan | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: blessed |
-------------------------+--------------------------------------------------
Comment (by Otto42):
A good point was brought up.. If you can do
wp_list_comments('type=pings'); or what have you, then it would be nice to
know if there are any comments of that type before you call it. Like
have_comments('type=pings') or something similar.
This is problematic because as near as I can see, the
$wp_query->comments_by_type doesn't get setup until you have already
called wp_list_comments with a non-all type. Perhaps the query should
always separate the comments when they are pulled out of the DB.
--
Ticket URL: <http://trac.wordpress.org/ticket/7635#comment:33>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list