Changeset 14487 for trunk/wp-includes/post.php
- Timestamp:
- 05/06/2010 08:40:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14478 r14487 4139 4139 function _future_post_hook( $deprecated = '', $post ) { 4140 4140 wp_clear_scheduled_hook( 'publish_future_post', array( $post->ID ) ); 4141 wp_schedule_single_event( strtotime( $post->post_date_gmt. ' GMT' ), 'publish_future_post', array( $post->ID ) );4141 wp_schedule_single_event( get_gmt_from_date( $post->post_date ) . ' GMT', 'publish_future_post', array( $post->ID ) ); 4142 4142 } 4143 4143
Note: See TracChangeset
for help on using the changeset viewer.