Changeset 4078 for trunk/wp-includes/post.php
- Timestamp:
- 08/07/2006 04:43:38 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r4077 r4078 689 689 } 690 690 691 if ( 'future' == $post_status ) { 692 wp_clear_scheduled_hook('publish_future_post', $post_ID); 691 // Always clears the hook in case the post status bounced from future to draft. 692 wp_clear_scheduled_hook('publish_future_post', $post_ID); 693 694 // Schedule publication. 695 if ( 'future' == $post_status ) 693 696 wp_schedule_single_event(mysql2date('U', $post_date), 'publish_future_post', $post_ID); 694 }695 697 696 698 do_action('save_post', $post_ID);
Note: See TracChangeset
for help on using the changeset viewer.