[wp-trac] Re: [WordPress Trac] #7956: get_comment_link() should be paged comments aware

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 25 18:58:37 GMT 2008


#7956: get_comment_link() should be paged comments aware
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |        Owner:     
     Type:  defect        |       Status:  new
 Priority:  high          |    Milestone:  2.7
Component:  Comments      |      Version:  2.7
 Severity:  normal        |   Resolution:     
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by ryan):

 Maybe get_page_of_comment() can setup $wp_query->comments in the same way
 comments_template() does that way comments_template() can avoid doing a
 second query if it is already set.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7956#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list