[wp-cvs] wordpress/wp-includes template-functions-general.php, 1.33, 1.34

Jason Verber jverber at users.sourceforge.net
Wed Jun 16 15:45:46 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17258/wp-includes

Modified Files:
	template-functions-general.php 
Log Message:
Fix for bug #0000062: calendar no longer highlights _today_ for previous years.

Index: template-functions-general.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-general.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** template-functions-general.php	11 Jun 2004 18:09:21 -0000	1.33
--- template-functions-general.php	16 Jun 2004 15:45:44 -0000	1.34
***************
*** 438,442 ****
          $newrow = false;
  
!         if ($day == gmdate('j', (time() + (get_settings('gmt_offset') * 3600))) && $thismonth == gmdate('m', time()+(get_settings('gmt_offset') * 3600)))
              echo '<td id="today">';
          else
--- 438,442 ----
          $newrow = false;
  
!         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




More information about the cvs mailing list