WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10674 closed defect (bug) (fixed)

Comment order reversed in wp-admin/edit-comments.php?p=123

Reported by: scribu Owned by: scribu
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.4
Component: General Keywords: has-patch commit
Focuses: Cc:

Description

When displaying comments from a single post in the admin, they are displayed from oldest to newest, rather than the other way around.

This is especially annoying after clicking a link from an email to moderate a comment.

From what I can tell, this is the only place that this happens. When viewing all posts or all comments, they are displayed in reverse chronological order, as expected.

Attachments (1)

_wp_get_comment_list.patch (650 bytes) - added by scribu 5 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 scribu5 years ago

  • Keywords has-patch commit added; needs-patch removed

The only place _wp_get_comment_list() is called is on edit-comments.php and for the Recent Comments dashboard widget:

http://xref.yoast.com/trunk/nav.html?_functions/_wp_get_comment_list.html

comment:2 scribu5 years ago

  • Owner set to scribu
  • Status changed from new to accepted

comment:3 markjaquith5 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

Huh... this didn't get automatically closed. Manually doing it:

(In [11901] Display comments in descending date order, consistently. props scribu. fixes #10674)

Note: See TracTickets for help on using tickets.