Changeset 12584 for trunk/wp-includes/post.php
- Timestamp:
- 12/30/2009 04:23:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r12571 r12584 3539 3539 * @param object $post Object type containing the post information 3540 3540 */ 3541 function _future_post_hook($deprecated = '', $post) { 3541 function _future_post_hook( $deprecated = '', $post ) { 3542 if ( !empty( $deprecated ) ) 3543 _deprecated_argument( __FUNCTION__, '0.0' ); 3542 3544 wp_clear_scheduled_hook( 'publish_future_post', array( $post->ID ) ); 3543 wp_schedule_single_event( strtotime($post->post_date_gmt. ' GMT'), 'publish_future_post', array($post->ID));3545 wp_schedule_single_event( strtotime( $post->post_date_gmt. ' GMT' ), 'publish_future_post', array( $post->ID ) ); 3544 3546 } 3545 3547
Note: See TracChangeset
for help on using the changeset viewer.