From 33900801ce01a7592ffdc5eb5e95bf13147bb667 Mon Sep 17 00:00:00 2001 From: jverber Date: Wed, 16 Jun 2004 15:45:44 +0000 Subject: [PATCH] Fix for bug #0000062: calendar no longer highlights _today_ for previous years. git-svn-id: http://svn.automattic.com/wordpress/trunk@1430 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 1e08730e77..2f3080626c 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -437,7 +437,7 @@ function get_calendar($daylength = 1) { echo "\n\t\n\t\n\t\t"; $newrow = false; - if ($day == gmdate('j', (time() + (get_settings('gmt_offset') * 3600))) && $thismonth == gmdate('m', time()+(get_settings('gmt_offset') * 3600))) + if ($day == gmdate('j', (time() + (get_settings('gmt_offset') * 3600))) && $thismonth == gmdate('m', time()+(get_settings('gmt_offset') * 3600)) && $thisyear == gmdate('Y', time()+(get_settings('gmt_offset') * 3600))) echo ''; else echo '';