From 1163f6fcc5dc2a4ecbe64e4861f2f8a5ec3ec7df Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 3 Aug 2004 21:59:29 +0000 Subject: [PATCH] Fix localization of next month link in get_calendar. Bug 0000201. git-svn-id: https://develop.svn.wordpress.org/trunk@1508 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index 54b7b17af9..0856ce2b49 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -411,7 +411,7 @@ function get_calendar($daylength = 1) { if ($next) { echo "\n\t\t".'' . substr($month[zeroise($next->month, 2)], 0, 3) . ' »'; + date('Y', mktime(0, 0 , 0, $next->month, 1, $next->year)) . '">' . $month_abbrev[$month[zeroise($next->month, 2)]] . ' »'; } else { echo "\n\t\t".' '; }