Make WordPress Core

Changeset 6290


Ignore:
Timestamp:
10/25/2007 07:15:02 AM (18 years ago)
Author:
ryan
Message:

Pass literal strings not vars to compact.

File:
1 edited

Legend:

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

    r6288 r6290  
    904904        $parent = $term_obj->parent;
    905905
    906         $wpdb->update( $wpdb->term_taxonomy, compact( $parent ), array( 'parent' => $term_obj->term_id) + compact( $taxonomy ) );
     906        $wpdb->update( $wpdb->term_taxonomy, compact( 'parent' ), array( 'parent' => $term_obj->term_id) + compact( 'taxonomy' ) );
    907907    }
    908908
Note: See TracChangeset for help on using the changeset viewer.