mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Fix for bug #0000062: calendar no longer highlights _today_ for previous years.
git-svn-id: https://develop.svn.wordpress.org/trunk@1430 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -437,7 +437,7 @@ function get_calendar($daylength = 1) {
|
||||
echo "\n\t</tr>\n\t<tr>\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 '<td id="today">';
|
||||
else
|
||||
echo '<td>';
|
||||
|
||||
Reference in New Issue
Block a user