Make WordPress Core

Changeset 27194


Ignore:
Timestamp:
02/19/2014 03:28:17 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Use correct variable. props avryl. fixes #27153.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r27188 r27194  
    657657    for ( $i = 1; $i < 13; $i = $i +1 ) {
    658658        $monthnum = zeroise($i, 2);
    659         $month .= "\t\t\t" . '<option value="' . $monthnum . '" ' . selected( $i, $mm, false ) . '>';
     659        $month .= "\t\t\t" . '<option value="' . $monthnum . '" ' . selected( $monthnum, $mm, false ) . '>';
    660660        /* translators: 1: month number (01, 02, etc.), 2: month abbreviation */
    661661        $month .= sprintf( __( '%1$s-%2$s' ), $monthnum, $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) ) . "</option>\n";
Note: See TracChangeset for help on using the changeset viewer.