Pass remember arg. see #5405

git-svn-id: https://develop.svn.wordpress.org/trunk@6644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-01-23 18:20:59 +00:00
parent 9ecb360c81
commit c929b2f5e5
3 changed files with 7 additions and 1 deletions

View File

@@ -874,6 +874,7 @@ function wp_widget_recent_entries($args) {
</ul>
<?php echo $after_widget; ?>
<?php
wp_reset_query(); // Restore global post data stomped by the_post().
endif;
wp_cache_add('widget_recent_entries', ob_get_flush());
}