Because we're modifying an existing cache variable we need to do a _set, not an _add, like we do other places we stick multiple cache values in a single var and key.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e08024d86e
commit
4216f95b64
|
@ -666,7 +666,7 @@ function get_calendar($initial = true) {
|
|||
ob_end_clean();
|
||||
echo $output;
|
||||
$cache[ $key ] = $output;
|
||||
wp_cache_add( 'get_calendar', $cache, 'calendar' );
|
||||
wp_cache_set( 'get_calendar', $cache, 'calendar' );
|
||||
}
|
||||
|
||||
function delete_get_calendar_cache() {
|
||||
|
|
Loading…
Reference in New Issue