Changeset 18860 for trunk/wp-admin/includes/template.php
- Timestamp:
- 10/01/2011 08:50:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r18852 r18860 587 587 $month = "<select " . ( $multi ? '' : 'id="mm" ' ) . "name=\"mm\"$tab_index_attribute>\n"; 588 588 for ( $i = 1; $i < 13; $i = $i +1 ) { 589 $month .= "\t\t\t" . '<option value="' . zeroise($i, 2) . '"'; 589 $monthnum = zeroise($i, 2); 590 $month .= "\t\t\t" . '<option value="' . $monthnum . '"'; 590 591 if ( $i == $mm ) 591 592 $month .= ' selected="selected"'; 592 $month .= '>' . $ wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) . "</option>\n";593 $month .= '>' . $monthnum . '-' . $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) . "</option>\n"; 593 594 } 594 595 $month .= '</select>';
Note: See TracChangeset
for help on using the changeset viewer.