Opened 14 years ago
Closed 14 years ago
#16542 closed defect (bug) (duplicate)
performance issue in comments_template() pagination
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.0.5 |
Component: | Comments | Keywords: | comment, performance, slowquery |
Focuses: | Cc: |
Description
in wp-includes/comment-template.php function comments_template() line 889 are not passed the optional parameters "number" and "offset" if pagination is enabled for comments.
This means that if I have a post with a lot of comments (ie. 1000) all of them will be loaded from the db causing a slow query.
This is usually fixed using a caching plugin, but not all the installations come with it installed or enabled.
Change History (1)
Note: See
TracTickets for help on using
tickets.
See #8071