*** functions-post.php.orig	Thu Dec 29 14:35:43 2005
--- functions-post.php	Thu Dec 29 14:38:39 2005
***************
*** 696,704 ****
  
  	$post = $wpdb->get_row("SELECT * FROM $wpdb->posts WHERE ID = $post_id");
  	$to_ping = get_to_ping($post_id);
  	$pinged  = get_pung($post_id);
! 	if ( empty($to_ping) )
  		return;
  	if (empty($post->post_excerpt))
  		$excerpt = apply_filters('the_content', $post->post_content);
  	else
--- 698,709 ----
  
  	$post = $wpdb->get_row("SELECT * FROM $wpdb->posts WHERE ID = $post_id");
  	$to_ping = get_to_ping($post_id);
  	$pinged  = get_pung($post_id);
! 	if ( empty($to_ping) ) {
! 		$wpdb->query("UPDATE $wpdb->posts SET to_ping = '' WHERE ID = '$post_id'");
  		return;
+ 	}
  	if (empty($post->post_excerpt))
  		$excerpt = apply_filters('the_content', $post->post_content);
  	else

