Make WordPress Core


Ignore:
Timestamp:
05/09/2007 09:54:30 PM (18 years ago)
Author:
ryan
Message:

Obey show_post_count for dropdown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/widgets.php

    r5403 r5421  
    387387    if($d) {
    388388?>
    389         <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>
     389        <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>
    390390<?php   
    391391    } else {
Note: See TracChangeset for help on using the changeset viewer.