[wp-trac] Re: [WordPress Trac] #8978: Drafts are published in the past

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 28 09:58:46 GMT 2009


#8978: Drafts are published in the past
-------------------------------------+--------------------------------------
 Reporter:  markjaquith              |        Owner:  ryan
     Type:  defect (bug)             |       Status:  new 
 Priority:  high                     |    Milestone:  2.8 
Component:  Administration           |      Version:  2.7 
 Severity:  critical                 |   Resolution:      
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Changes (by markjaquith):

  * keywords:  => has-patch needs-testing

Comment:

 I think I know what's going on... touch_time() was expecting post_date to
 be all zeros for drafts and pending posts. But now it seems that post_date
 equals the last modified date. {{{8978.001.diff}}} switches that check to
 post_date_gmt, which seems to stay all zeros when a date is not specified.

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


More information about the wp-trac mailing list