]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/post.php
Wordpress 2.8.3
[autoinstalls/wordpress.git] / wp-includes / post.php
index 0c0ba46d6d045a8bc157be02b174ee538f1af6d7..7ae5431b0a450afd36da3a38da2ddcbfb001480c 100644 (file)
@@ -3274,9 +3274,6 @@ function _transition_post_status($new_status, $old_status, $post) {
                if ( '' == get_the_guid($post->ID) )
                        $wpdb->update( $wpdb->posts, array( 'guid' => get_permalink( $post->ID ) ), array( 'ID' => $post->ID ) );
                do_action('private_to_published', $post->ID);  // Deprecated, use private_to_publish
-               // do generic pings once per hour at most
-               if ( !wp_next_scheduled('do_generic_ping') )
-                       wp_schedule_single_event(time() + 3600, 'do_generic_ping');
        }
 
        // Always clears the hook in case the post status bounced from future to draft.