Typo in get_calendar
git-svn-id: https://develop.svn.wordpress.org/trunk@4523 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0fd7672651
commit
44cfe9ceda
|
@ -425,7 +425,7 @@ function get_calendar($initial = true) {
|
||||||
$key = md5( $m . $monthnum . $year );
|
$key = md5( $m . $monthnum . $year );
|
||||||
if ( $cache = wp_cache_get( 'get_calendar', 'calendar' ) ) {
|
if ( $cache = wp_cache_get( 'get_calendar', 'calendar' ) ) {
|
||||||
if ( isset( $cache[ $key ] ) ) {
|
if ( isset( $cache[ $key ] ) ) {
|
||||||
echo $cache;
|
echo $cache[ $key ];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue