Make WordPress Core

Opened 6 years ago

Closed 6 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:


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 6 years ago.

Download all attachments as: .zip

Change History (4)

#1 @scribu
6 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:


#2 @scribu
6 years ago

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

#3 @markjaquith
6 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.