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 '';