Make WordPress Core

Opened 17 years ago

Closed 16 years ago

#4528 closed defect (bug) (fixed)

post_modified not set for first save of draft

Reported by: markjaquith's profile markjaquith Owned by: markjaquith's profile markjaquith
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords:
Focuses: Cc:

Description

When a draft is saved for the first time, post_modified is not set. This gives us no way to sort these drafts by "last modified." Any drafts that have had only one save will fall to the back of the line if we're sorting by post_modified DESC

Change History (4)

#1 @markjaquith
17 years ago

  • Milestone changed from 2.3 to 2.4
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Note to self, see what effect this will have on our Atom feeds with regard to modified date.

#2 @brh
17 years ago

  • Cc brh@… added

#3 @DD32
16 years ago

post_modified seems to be set on draft saves now on trunk.

post_date remains empty until published as expected.

I'm not too sure on the Atom feeds comment though? When the Draft is published, the post_modified should be set to the publish time AFAIK, And future modifications to the post will be reflected by the atom feed.

#4 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.