Make WordPress Core

Ticket #21879: 21879.diff

File 21879.diff, 430 bytes (added by wonderboymusic, 11 years ago)
  • src/wp-includes/post.php

     
    48854885                }
    48864886        }
    48874887
     4888        wp_cache_delete( $post->post_type, 'counts' );
     4889
    48884890        // Always clears the hook in case the post status bounced from future to draft.
    48894891        wp_clear_scheduled_hook('publish_future_post', array( $post->ID ) );
    48904892}