diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index e423948deb..106c4de16f 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -784,19 +784,21 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0 ) { $mn = ($edit) ? mysql2date( 'i', $post_date ) : gmdate( 'i', $time_adj ); $ss = ($edit) ? mysql2date( 's', $post_date ) : gmdate( 's', $time_adj ); - echo "\n"; for ( $i = 1; $i < 13; $i = $i +1 ) { - echo "\t\t\t\n"; + $month .= ' selected="selected"'; + $month .= '>' . $wp_locale->get_month( $i ) . "\n"; } + $month .= ''; + + $day = ''; + $year = ''; + $hour = ''; + $minute = ''; + printf(__('%1$s%2$s%3$s @ %4$s : %5$s'), $month, $day, $year, $hour, $minute); ?> - - /> - /> @ - /> : - />