Ticket #21580: 21580v2.diff
File 21580v2.diff, 487 bytes (added by , 12 years ago) |
---|
-
wp-includes/post.php
2812 2812 * @return null Nothing is returned. Which can mean that no action is required or post was published. 2813 2813 */ 2814 2814 function check_and_publish_future_post($post_id) { 2815 2815 global $post; 2816 2816 $post = get_post($post_id); 2817 global $post_id; 2818 $post_id = $post->ID; 2817 2819 2818 2820 if ( empty($post) ) 2819 2821 return;