[wp-trac] [WordPress Trac] #8755: Should be able to specify page order with wp_list_comments()

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 30 02:50:53 GMT 2008


#8755: Should be able to specify page order with wp_list_comments()
-------------------------+--------------------------------------------------
 Reporter:  marky        |       Owner:                              
     Type:  enhancement  |      Status:  new                         
 Priority:  normal       |   Milestone:  2.7.1                       
Component:  Comments     |     Version:  2.7                         
 Severity:  normal       |    Keywords:  wp_list_comments, page order
-------------------------+--------------------------------------------------
 Passing the parameters ''reverse_top_level'' and ''reverse_children'' into
 the ''wp_list_comments()'' function only reverses the order of the
 comments '''on each page''', and not the entire comment list overall. It
 is therefore impossible to display the newest comments first using this
 function, when comments are great enough to be paged. At least, not
 without globally changing the comment order for the entire site using the
 Discussion settings screen so that the "last" page is displayed first.

 It should be possible to specify the page order in wp_list_comments() by,
 for example, passing a page_order parameter with 'asc' or 'desc'
 available.

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


More information about the wp-trac mailing list