Make WordPress Core

Opened 20 months ago

Last modified 20 months ago

#47742 new defect (bug)

sorting by date incorrect

Reported by: lamaan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: ui, administration Cc:


Sorting pages by date should be doing date modified. It seems to be going off another date, possibly date published.

Change History (3)

#1 @SergeyBiryukov
20 months ago

  • Component changed from General to Posts, Post Types
  • Focuses ui administration added

#2 @SergeyBiryukov
20 months ago

Hi @lamaan, welcome to WordPress Trac! Thanks for the ticket.

By default, sorting pages by date indeed sorts them by publish date for published pages and last modified date for drafts.

There are plugins like https://wordpress.org/plugins/show-modified-date-in-admin-lists/ to add a sortable Modified Date column to the list.

#3 @lamaan
20 months ago

The UI says last modified before each date in the results. This should for consistency's sake say last published if that is what it is sorting by. I have a large number of privately published pages, this is at least a miscommunication of what it is sorting by.

Note: See TracTickets for help on using tickets.