Changeset 6119

Show
Ignore:
Timestamp:
09/15/07 21:50:53 (1 year ago)
Author:
matt
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/general-template.php

    r6074 r6119  
    667667    echo $output; 
    668668    $cache[ $key ] = $output; 
    669     wp_cache_add( 'get_calendar', $cache, 'calendar' ); 
     669    wp_cache_set( 'get_calendar', $cache, 'calendar' ); 
    670670} 
    671671