[wp-trac] [WordPress Trac] #8824: next_comments_link returns a link when page_comments is disabled

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 9 02:22:40 GMT 2009


#8824: next_comments_link returns a link when page_comments is disabled
--------------------------+-------------------------------------------------
 Reporter:  thinlight     |       Owner:          
     Type:  defect (bug)  |      Status:  new     
 Priority:  low           |   Milestone:  2.8     
Component:  Comments      |     Version:  2.7     
 Severity:  trivial       |    Keywords:  comments
--------------------------+-------------------------------------------------
 /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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8824>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list