diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php
index 254ce02ca6..3994633ec7 100644
--- a/wp-includes/template-functions-general.php
+++ b/wp-includes/template-functions-general.php
@@ -480,7 +480,8 @@ function get_calendar($daylength = 1) {
if ( $previous ) {
echo "\n\t\t".'
« ' . $month_abbrev[$month[zeroise($previous->month, 2)]] . ' | ';
+ get_month_link($previous->year, $previous->month) . '" title="' . sprintf(__('View posts for %1$s %2$s'), $month[zeroise($previous->month, 2)],
+ date('Y', mktime(0, 0 , 0, $previous->month, 1, $previous->year))) . '">« ' . $month_abbrev[$month[zeroise($previous->month, 2)]] . '';
} else {
echo "\n\t\t".' | ';
}
@@ -489,8 +490,8 @@ function get_calendar($daylength = 1) {
if ( $next ) {
echo "\n\t\t".'' . $month_abbrev[$month[zeroise($next->month, 2)]] . ' » | ';
+ get_month_link($next->year, $next->month) . '" title="' . sprintf(__('View posts for %1$s %2$s'), $month[zeroise($next->month, 2)],
+ date('Y', mktime(0, 0 , 0, $next->month, 1, $next->year))) . '">' . $month_abbrev[$month[zeroise($next->month, 2)]] . ' »';
} else {
echo "\n\t\t".' | ';
}