[wp-trac] Re: [WordPress Trac] #9388: safety guard for publish_future_post

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 24 19:53:37 GMT 2009


#9388: safety guard for publish_future_post
--------------------------+-------------------------------------------------
 Reporter:  hailin        |       Owner:  anonymous 
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by ryan):

 Replying to [comment:1 hailin]:
 > Some users reported that it appears to only happen if he edit the
 sheduled post after sheduling it. That points to the potential issue in
 _transition_post_status in which we ALWAYS deletes the existing cron
 entry.

 _transition_post_status fires and then _future_post_hook fires when
 resaving a scheduled post, both of which clear the scheduled hook.

 The issue of cron contention is well known.  I think this is just a case
 of that.  We were planning to split the cron array into separate options
 for 2.8, but it hasn't happened yet.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9388#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list