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
This commit is contained in:
jverber 2004-06-16 15:45:44 +00:00
parent 1645031f44
commit 33900801ce
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ function get_calendar($daylength = 1) {
echo "\n\t</tr>\n\t<tr>\n\t\t"; echo "\n\t</tr>\n\t<tr>\n\t\t";
$newrow = false; $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 '<td id="today">'; echo '<td id="today">';
else else
echo '<td>'; echo '<td>';