Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#45585 new defect (bug)

comments ordering by date, orders them only for the current page.

Reported by: rwky's profile rwky Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Comments Keywords:
Focuses: Cc:

Description

Tested: on 5.0 and 4.9.8 (found it on 4.9.8)

Steps to reproduce:

  1. add comments (skip if existing)
  2. change the comment dates
  3. activate pagination in comments in wp-settings -> discussion and set comments display "newest".

Mentions
I did testing on both Twenty Seventeen and Twenty Nineteen, the result is the same, it will order comments by date for the current page, not all comments and then split in pages.

Expected behaviour
Order comments then split them in pages, now it does vice-versa, where it orders the comments by date after they are being split in pages.

Attachments (2)

Screenshot 2018-12-11 at 16.30.57.png (27.8 KB) - added by rwky 6 years ago.
on 2nd page, ther eis a c
Screenshot 2018-12-11 at 16.30.57.2.png (27.8 KB) - added by rwky 6 years ago.
on 2nd page, there is a newer comment than all in the image (december).

Download all attachments as: .zip

Change History (5)

@rwky
6 years ago

on 2nd page, ther eis a c

#1 @swissspidy
6 years ago

  • Severity changed from major to normal

@rwky
6 years ago

on 2nd page, there is a newer comment than all in the image (december).

#2 follow-up: @boonebgorges
6 years ago

Hi @rwky - The following tickets may be related or duplicates: #29462, #35805

#3 in reply to: ↑ 2 @rwky
6 years ago

@boonegorges
yes, it appears to be similar/related, not duplicate, because he missed to describe his result.

It gave me an idea, to try to leave them and reverse them via PHP, hopefully it will work.

Note: See TracTickets for help on using tickets.