Changeset 5879

Show
Ignore:
Timestamp:
08/16/07 18:12:12 (1 year ago)
Author:
ryan
Message:

Set instead of add since the cache value has multiple keys that can change. Props josephscott. fixes #4743

Files:

Legend:

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

    r5708 r5879  
    138138 
    139139    $cache[ $key ] = $results; 
    140     wp_cache_add( 'get_bookmarks', $cache, 'bookmark' ); 
     140    wp_cache_set( 'get_bookmarks', $cache, 'bookmark' ); 
    141141 
    142142    return apply_filters('get_bookmarks', $results, $r);