Obey show_post_count for dropdown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1fbc800c8b
commit
6f6062af97
|
@ -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 {
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue