--- ../trunk/wordpress/wp-includes/widgets.php	2008-05-21 08:15:33.000000000 +0200
+++ ./widgets.php	2008-06-03 11:18:24.000000000 +0200
@@ -891,6 +891,9 @@
 }
 
 function wp_widget_recent_entries($args) {
+	global $post;
+	$postBackup = $post;
+
 	if ( '%BEG_OF_TITLE%' != $args['before_title'] ) {
 		if ( $output = wp_cache_get('widget_recent_entries', 'widget') )
 			return print($output);
@@ -924,6 +927,9 @@
 
 	if ( '%BEG_OF_TITLE%' != $args['before_title'] )
 		wp_cache_add('widget_recent_entries', ob_get_flush(), 'widget');
+
+	$post = $postBackup;
+	setup_postdata( $post );
 }
 
 function wp_flush_widget_recent_entries() {
