WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/06/2007 07:49:33 PM (14 years ago)
Author:
ryan
Message:

Remove unused vars. Props DD32. see #5418

File:
1 edited

Legend:

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

    r6227 r6364  
    6767
    6868function get_the_category($id = false) {
    69     global $post, $term_cache, $blog_id;
     69    global $post, $term_cache;
    7070
    7171    $id = (int) $id;
     
    169169
    170170function in_category( $category ) { // Check if the current post is in the given category
    171     global $post, $blog_id;
     171    global $post;
    172172
    173173    $categories = get_object_term_cache($post->ID, 'category');
Note: See TracChangeset for help on using the changeset viewer.