[wp-trac] [WordPress Trac] #10539: Comments Pagination Links disappear if you separate comments from pings

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 18:42:47 UTC 2010


#10539: Comments Pagination Links disappear if you separate comments from pings
--------------------------+-------------------------------------------------
 Reporter:  aldolat       |       Owner:  apeatling  
     Type:  defect (bug)  |      Status:  assigned   
 Priority:  normal        |   Milestone:  3.0        
Component:  Comments      |     Version:  2.9.1      
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by apeatling):

 This is because the call to
 {{{
 <?php wp_list_comments('type=pings'); ?>
 }}}

 is resetting the internal commenting vars in wp_list_comments() which also
 resets pagination. The solution is to make sure you call the navigation
 links before you output pings to avoid the reset. I've tested this and it
 works.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10539#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list