[wp-cvs] wordpress/wp-includes template-functions-general.php, 1.42, 1.43

Ryan Boren rboren at users.sourceforge.net
Tue Aug 3 21:59:31 UTC 2004


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

Modified Files:
	template-functions-general.php 
Log Message:
Fix localization of next month link in get_calendar.  Bug 0000201.

Index: template-functions-general.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-general.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** template-functions-general.php	28 Jul 2004 23:13:01 -0000	1.42
--- template-functions-general.php	3 Aug 2004 21:59:29 -0000	1.43
***************
*** 412,416 ****
          echo "\n\t\t".'<td abbr="' . $month[zeroise($next->month, 2)] . '" colspan="3" id="next"><a href="' .
                  get_month_link($next->year, $next->month) . '" title="View posts for ' . $month[zeroise($next->month, 2)] . ' ' .
!                 date('Y', mktime(0, 0 , 0, $next->month, 1, $next->year)) . '">' . substr($month[zeroise($next->month, 2)], 0, 3) . ' &raquo;</a></td>';
      } else {
          echo "\n\t\t".'<td colspan="3" id="next" class="pad">&nbsp;</td>';
--- 412,416 ----
          echo "\n\t\t".'<td abbr="' . $month[zeroise($next->month, 2)] . '" colspan="3" id="next"><a href="' .
                  get_month_link($next->year, $next->month) . '" title="View posts for ' . $month[zeroise($next->month, 2)] . ' ' .
!                 date('Y', mktime(0, 0 , 0, $next->month, 1, $next->year)) . '">' . $month_abbrev[$month[zeroise($next->month, 2)]] . ' &raquo;</a></td>';
      } else {
          echo "\n\t\t".'<td colspan="3" id="next" class="pad">&nbsp;</td>';




More information about the cvs mailing list