Obey show_post_count for dropdown.

git-svn-id: https://develop.svn.wordpress.org/trunk@5421 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-05-09 21:54:30 +00:00
parent 719b73dd9d
commit d213ecdab4
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ function wp_widget_archives($args) {
if($d) {
?>
<select name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'> <option value=""><?php echo attribute_escape(__('Select Month')); ?></option> <?php wp_get_archives('type=monthly&format=option'); ?> </select>
<select name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'> <option value=""><?php echo attribute_escape(__('Select Month')); ?></option> <?php wp_get_archives("type=monthly&format=option&show_post_count=$c"); ?> </select>
<?php
} else {
?>