--- /temp/wordpress/wp-admin/includes/post.php	Tue Dec 09 18:03:32 2008
+++ /wordpress/wp-admin/includes/post.php	Thu Dec 11 12:00:00 2008
@@ -926,6 +926,10 @@
 	$post->post_status = $original_status;
 	$post->post_date = $original_date;
 	$post->post_name = $original_name;
+	// Note: Replace cached copy of post to restore original (unhacked)
+	// data.  get_permalink calls get_posts which calls wp_cache_add!!!
+	if ( false !== wp_cache_get($post->ID, 'posts') )
+		wp_cache_replace($post->ID, $post, 'posts');
 	return $permalink;
 }
 

