Make WordPress Core

Changeset 9893


Ignore:
Timestamp:
11/26/2008 01:06:25 AM (17 years ago)
Author:
ryan
Message:

Fix notice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r9885 r9893  
    128128    if ( false === $categories ) {
    129129        $categories = wp_get_object_terms( $id, 'category' );
    130         wp_cache_add($post->ID, $categories, 'category_relationships');
     130        wp_cache_add($id, $categories, 'category_relationships');
    131131    }
    132132
Note: See TracChangeset for help on using the changeset viewer.