diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 20d195798..48cb814a4 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1073,7 +1073,7 @@ function get_calendar($initial = true) { /* translators: Calendar caption: 1: month name, 2: 4-digit year */ $calendar_caption = _x('%1$s %2$s', 'calendar caption'); - echo ' + echo '
'; @@ -1087,7 +1087,7 @@ function get_calendar($initial = true) { foreach ( $myweek as $wd ) { $day_name = (true == $initial) ? $wp_locale->get_weekday_initial($wd) : $wp_locale->get_weekday_abbrev($wd); $wd = esc_attr($wd); - echo "\n\t\t"; + echo "\n\t\t"; } echo ' @@ -1098,7 +1098,7 @@ function get_calendar($initial = true) { '; if ( $previous ) { - echo "\n\t\t".''; } else { @@ -1108,7 +1108,7 @@ function get_calendar($initial = true) { echo "\n\t\t".''; if ( $next ) { - echo "\n\t\t".''; } else {
' . sprintf($calendar_caption, $wp_locale->get_month($thismonth), date('Y', $unixmonth)) . '
$day_name$day_name
« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . ' ' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' »