Changeset 33340 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 07/21/2015 11:39:20 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r32994 r33340 785 785 for ( $i = 1; $i < 13; $i = $i +1 ) { 786 786 $monthnum = zeroise($i, 2); 787 $month .= "\t\t\t" . '<option value="' . $monthnum . '" ' . selected( $monthnum, $mm, false ) . '>'; 787 $monthtext = $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ); 788 $month .= "\t\t\t" . '<option value="' . $monthnum . '" data-text="' . $monthtext . '" ' . selected( $monthnum, $mm, false ) . '>'; 788 789 /* translators: 1: month number (01, 02, etc.), 2: month abbreviation */ 789 $month .= sprintf( __( '%1$s-%2$s' ), $monthnum, $ wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) )) . "</option>\n";790 $month .= sprintf( __( '%1$s-%2$s' ), $monthnum, $monthtext ) . "</option>\n"; 790 791 } 791 792 $month .= '</select></label>'; … … 798 799 echo '<div class="timestamp-wrap">'; 799 800 /* translators: 1: month, 2: day, 3: year, 4: hour, 5: minute */ 800 printf( __( '%1$s %2$s, %3$s @ %4$s :%5$s' ), $month, $day, $year, $hour, $minute );801 printf( __( '%1$s %2$s, %3$s @ %4$s:%5$s' ), $month, $day, $year, $hour, $minute ); 801 802 802 803 echo '</div><input type="hidden" id="ss" name="ss" value="' . $ss . '" />';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)