Ticket #21879: 21879.diff
File 21879.diff, 430 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/post.php
4885 4885 } 4886 4886 } 4887 4887 4888 wp_cache_delete( $post->post_type, 'counts' ); 4889 4888 4890 // Always clears the hook in case the post status bounced from future to draft. 4889 4891 wp_clear_scheduled_hook('publish_future_post', array( $post->ID ) ); 4890 4892 }