[wp-trac] Re: [WordPress Trac] #5698: Set timestamps for unpublished posts

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 21 18:54:15 GMT 2008


#5698: Set timestamps for unpublished posts
----------------------------+-----------------------------------------------
 Reporter:  ryan            |        Owner:  ryan 
     Type:  defect          |       Status:  new  
 Priority:  normal          |    Milestone:  2.5  
Component:  Administration  |      Version:  2.3.2
 Severity:  normal          |   Resolution:       
 Keywords:  date time       |  
----------------------------+-----------------------------------------------
Comment (by filosofo):

 Replying to [comment:2 filosofo]:
 > Why don't we instead leave the post_date alone (unset for drafts) but
 set the post_modified to reflect when a draft has been saved.  Then we can
 sort drafts by post_modified.

 Now that I look at the code, I see that this is the current behavior.  So
 why do you say that the current behavior "results in drafts not ordering
 nicely by date and causes some confusion among users"?  Whatever was saved
 most recently shows up first--isn't that what you'd expect?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5698#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list