Opened 4 years ago
Closed 4 years ago
#8824 closed defect (bug) (fixed)
next_comments_link returns a link when page_comments is disabled
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 2.8 |
| Component: | Comments | Version: | 2.7 |
| Severity: | trivial | Keywords: | comments |
| Cc: |
Description
/wp-includes/link-template.php
How to reproduce: disable page_comments option in "Discussion Settings", and switch to the "WordPress Default 1.6" theme. Go to a post with comments and you'll notice that there is a "new comments" link there below the comment list.
If function next_comments_link won't be fixed, comments.php in themes must use page_comments option to determine whether navigation links should be generated.
Change History (1)
Note: See
TracTickets for help on using
tickets.

(In [10361]) Don't return comment page links if paging is disabled. fixes #8824 for trunk