WordPress.org

Make WordPress Core

Changeset 14507


Ignore:
Timestamp:
05/07/2010 08:57:23 PM (10 years ago)
Author:
westi
Message:

Restore the strtotime(). See #9285.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r14498 r14507  
    41444144function _future_post_hook( $deprecated = '', $post ) {
    41454145    wp_clear_scheduled_hook( 'publish_future_post', array( $post->ID ) );
    4146     wp_schedule_single_event( get_gmt_from_date( $post->post_date ) . ' GMT', 'publish_future_post', array( $post->ID ) );
     4146    wp_schedule_single_event( strtotime( get_gmt_from_date( $post->post_date ) . ' GMT') , 'publish_future_post', array( $post->ID ) );
    41474147}
    41484148
Note: See TracChangeset for help on using the changeset viewer.