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

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 17 19:23:34 GMT 2008


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

 Here's another method that sets post_date to the current time when a draft
 is saved but keeps post_date_gmt empty until the timestamp is explicitly
 edited.  The empty post_date_gmt is used as the marker to indicate that
 post_date should be updated to the current time when saved.

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


More information about the wp-trac mailing list