Index: wp-includes/post.php
===================================================================
--- wp-includes/post.php	(revision 3560)
+++ wp-includes/post.php	(working copy)
@@ -3065,8 +3065,10 @@
 	if ( !$posts )
 		return;
 
-	foreach ( $posts as $post )
+	foreach ( $posts as $post ) {
+		_get_post_ancestors($post);
 		wp_cache_add($post->ID, $post, 'posts');
+	}
 }
 
 /**
