diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 052d047376..f4799583ed 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -425,7 +425,7 @@ function get_calendar($initial = true) { $key = md5( $m . $monthnum . $year ); if ( $cache = wp_cache_get( 'get_calendar', 'calendar' ) ) { if ( isset( $cache[ $key ] ) ) { - echo $cache; + echo $cache[ $key ]; return; } }