From 9b2e6a85c0690e73f11ce7ed6731af5f9c3b5fd4 Mon Sep 17 00:00:00 2001 From: rboren 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: http://svn.automattic.com/wordpress/trunk@1508 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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".' '; }