Make WordPress Core

Ticket #21580: 21580.diff

File 21580.diff, 432 bytes (added by MattyRob, 12 years ago)
  • wp-includes/post.php

     
    28122812 * @return null Nothing is returned. Which can mean that no action is required or post was published.
    28132813 */
    28142814function check_and_publish_future_post($post_id) {
    2815 
     2815        global $post;
    28162816        $post = get_post($post_id);
    28172817
    28182818        if ( empty($post) )