Changeset 5693
- Timestamp:
- 06/13/07 00:16:33 (1 year ago)
- Files:
-
- trunk/wp-includes/category-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/category-template.php
r5660 r5693 156 156 } 157 157 158 function in_category( $category) { // Check if the current post is in the given category159 global $ category_cache, $post, $blog_id;160 161 if ( isset( $ category_cache[$blog_id][$post->ID][$category] ) )158 function in_category( $category ) { // Check if the current post is in the given category 159 global $object_term_cache, $post, $blog_id; 160 161 if ( isset( $object_term_cache[$blog_id][$post->ID]['category'][$category] ) ) 162 162 return true; 163 163 else
