Fix call to zeroise() in get_calendar(). Courtesy of harpshot.
http://wordpress.org/support/6/3218 git-svn-id: http://svn.automattic.com/wordpress/trunk@973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9410b1835c
commit
7270102622
|
@ -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