[wp-cvs]
wordpress/wp-includes template-functions-general.php, 1.71, 1.72
Matthew Mullenweg
saxmatt at users.sourceforge.net
Mon Feb 14 06:48:54 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23669/wp-includes
Modified Files:
template-functions-general.php
Log Message:
Fix for single_month_title - http://mosquito.wordpress.org/view.php?id=867
Index: template-functions-general.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-general.php,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** template-functions-general.php 14 Feb 2005 04:36:57 -0000 1.71
--- template-functions-general.php 14 Feb 2005 06:48:51 -0000 1.72
***************
*** 225,229 ****
} elseif(!empty($m)) {
$my_year = substr($m, 0, 4);
! $my_month = $month[substr($m, 4, 2)];
}
--- 225,229 ----
} elseif(!empty($m)) {
$my_year = substr($m, 0, 4);
! $my_month = $month[str_pad($monthnum, 2, '0', STR_PAD_LEFT)];
}
More information about the cvs
mailing list