Changeset 6364 for trunk/wp-includes/category-template.php
- Timestamp:
- 12/06/2007 07:49:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r6227 r6364 67 67 68 68 function get_the_category($id = false) { 69 global $post, $term_cache , $blog_id;69 global $post, $term_cache; 70 70 71 71 $id = (int) $id; … … 169 169 170 170 function in_category( $category ) { // Check if the current post is in the given category 171 global $post , $blog_id;171 global $post; 172 172 173 173 $categories = get_object_term_cache($post->ID, 'category');
Note: See TracChangeset
for help on using the changeset viewer.