Fix call to zeroise() in get_calendar(). Courtesy of harpshot.
http://wordpress.org/support/6/3218 git-svn-id: https://develop.svn.wordpress.org/trunk@973 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
938bbef3cb
commit
fecb847777
@ -340,7 +340,7 @@ function get_calendar($daylength = 1) {
|
||||
if (strlen($m) < 6) {
|
||||
$thismonth = '01';
|
||||
} else {
|
||||
$thismonth = ''.zeroise(intval(substr($m, 4, 2), 2));
|
||||
$thismonth = ''.zeroise(intval(substr($m, 4, 2)), 2);
|
||||
}
|
||||
} else {
|
||||
$thisyear = gmdate('Y', current_time('timestamp'));
|
||||
|
Loading…
Reference in New Issue
Block a user