[wp-cvs]
wordpress/wp-includes template-functions-general.php, 1.72, 1.73
Matthew Mullenweg
saxmatt at users.sourceforge.net
Tue Feb 15 00:50:27 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25176/wp-includes
Modified Files:
template-functions-general.php
Log Message:
Wrong line
Index: template-functions-general.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-general.php,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** template-functions-general.php 14 Feb 2005 06:48:51 -0000 1.72
--- template-functions-general.php 15 Feb 2005 00:50:23 -0000 1.73
***************
*** 222,229 ****
if(!empty($monthnum) && !empty($year)) {
$my_year = $year;
! $my_month = $month[$monthnum];
} elseif(!empty($m)) {
$my_year = substr($m, 0, 4);
! $my_month = $month[str_pad($monthnum, 2, '0', STR_PAD_LEFT)];
}
--- 222,229 ----
if(!empty($monthnum) && !empty($year)) {
$my_year = $year;
! $my_month = $month[str_pad($monthnum, 2, '0', STR_PAD_LEFT)];
} elseif(!empty($m)) {
$my_year = substr($m, 0, 4);
! $my_month = $month[substr($m, 4, 2)];
}
More information about the cvs
mailing list