Make WordPress Core

Changeset 5879


Ignore:
Timestamp:
08/16/2007 06:12:12 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.