WordPress.org

Make WordPress Core

Changeset 6251


Ignore:
Timestamp:
10/15/07 20:07:29 (7 years ago)
Author:
westi
Message:

Fix typo in call to $wpdb->update. Fixes #5206 props zamoose

File:
1 edited

Legend:

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

    r6248 r6251  
    11251125    $tt_id = $wpdb->get_var( $wpdb->prepare( "SELECT tt.term_taxonomy_id FROM $wpdb->term_taxonomy AS tt INNER JOIN $wpdb->terms AS t ON tt.term_id = t.term_id WHERE tt.taxonomy = %s AND t.term_id = %d", $taxonomy, $term_id) ); 
    11261126 
    1127     $wpdb->update( $wpdb->term_taxonomy, compact( 'term_id', 'taxonomy', 'description', 'parent' ), array( 'term_taxnonoy_id' => $tt_id ) ); 
     1127    $wpdb->update( $wpdb->term_taxonomy, compact( 'term_id', 'taxonomy', 'description', 'parent' ), array( 'term_taxonomy_id' => $tt_id ) ); 
    11281128 
    11291129    do_action("edit_term", $term_id, $tt_id); 
Note: See TracChangeset for help on using the changeset viewer.