Make WordPress Core


Ignore:
Timestamp:
12/06/2007 06:37:30 AM (19 years ago)
Author:
ryan
Message:

Remove unused variables. Props DD32. see #5418

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/taxonomy.php

    r6329 r6363  
    4141
    4242function wp_delete_category($cat_ID) {
    43         global $wpdb;
    44 
    4543        $cat_ID = (int) $cat_ID;
    4644        $default = get_option('default_category');
    … …  
    5452
    5553function wp_insert_category($catarr, $wp_error = false) {
    56         global $wpdb;
    57 
    5854        extract($catarr, EXTR_SKIP);
    5955
    … …  
    9692
    9793function wp_update_category($catarr) {
    98         global $wpdb;
    99 
    10094        $cat_ID = (int) $catarr['cat_ID'];
    10195
    … …  
    120114
    121115function get_tags_to_edit( $post_id ) {
    122         global $wpdb;
    123 
    124116        $post_id = (int) $post_id;
    125117        if ( !$post_id )
Note: See TracChangeset for help on using the changeset viewer.