Should be able to specify page order with wp_list_comments()
|Reported by:||marky||Owned by:|
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.
Change History (15)
- Keywords needs-patch added; wp_list_comments page order removed
- Severity changed from normal to major
- Type changed from enhancement to defect (bug)