[wp-trac] [WordPress Trac] #9285: Ensuring scheduled posts publish on time.

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 07:05:20 UTC 2010


#9285: Ensuring scheduled posts publish on time.
--------------------------+-------------------------------------------------
 Reporter:  hailin        |       Owner:  westi          
     Type:  defect (bug)  |      Status:  assigned       
 Priority:  normal        |   Milestone:  3.0            
Component:  Date/Time     |     Version:  2.8            
 Severity:  normal        |    Keywords:  has-patch early
--------------------------+-------------------------------------------------

Comment(by solarissmoke):

 Replying to [comment:33 technosailor]:
 > Alright fine, although I'm not sure why we can't use
 `get_date_from_gmt()` in xmlrpc too?

 I think you're probably right - at any rate the manipulation in xmlrpc
 seems excessive. Lets leave that for the other ticket then.

 > If you want to refresh the patch and make sure it does what it's
 supposed to, feel free. Let's move quickly though. Otherwise 9285-3.diff
 actually does work right now and maybe can be improved on in the future.

 Okay, here is a new patch. I've dropped the new function (maybe after the
 hallowed day when wordpress drops PHP4 support it can be reconsidered).
 This patch does what yours did but is simpler. It works for me using the
 tests you gave - could you confirm this?

 As an aside, I think get_date_from_gmt() needs to be changed to match
 get_gmt_from_date() at some point.

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


More information about the wp-trac mailing list