[wp-trac] [WordPress Trac] #11248: Paged wp_list_comments() should always output something
WordPress Trac
noreply at wordpress.org
Tue Oct 13 19:02:57 UTC 2015
#11248: Paged wp_list_comments() should always output something
--------------------------+-----------------------
Reporter: Viper007Bond | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Comments | Version: 2.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Changes (by boonebgorges):
* keywords: has-patch => needs-patch
Comment:
Let's not pull up every single comment object belonging to a post to
determine the page of comment. I recently wrote something that is a little
more lightweight for determining the number of top-level comments on a
post - see the `top_level_count` logic in [34729]. Maybe we can separate
this out, and use it to determine the number of comment pages here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11248#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list