Make WordPress Core

Ticket #14817: update_post_cache_fix.diff

File update_post_cache_fix.diff, 305 bytes (added by misterbisson, 14 years ago)
  • post.php

     
    39893989                return;
    39903990
    39913991        foreach ( $posts as $post )
    3992                 wp_cache_add($post->ID, $post, 'posts');
     3992                wp_cache_set($post->ID, $post, 'posts');
    39933993}
    39943994
    39953995/**