Index: src/wp-includes/default-widgets.php
===================================================================
--- src/wp-includes/default-widgets.php	(revision 25726)
+++ src/wp-includes/default-widgets.php	(working copy)
@@ -645,6 +645,7 @@
 		add_action( 'comment_post', array($this, 'flush_widget_cache') );
 		add_action( 'edit_comment', array($this, 'flush_widget_cache') );
 		add_action( 'transition_comment_status', array($this, 'flush_widget_cache') );
+		add_action( 'transition_post_status', array( $this, 'flush_widget_cache' ) );
 	}
 
 	function recent_comments_style() {
