Changeset 6283

Show
Ignore:
Timestamp:
10/23/07 16:36:08 (1 year ago)
Author:
ryan
Message:

get_row() not fetch_row(). Props michelwp. fixes #5230

Files:

Legend:

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

    r6282 r6283  
    10361036    $term_group = 0; 
    10371037    if ( $alias_of ) { 
    1038         $alias = $wpdb->fetch_row( $wpdb->prepare( "SELECT term_id, term_group FROM $wpdb->terms WHERE slug = %s", $alias_of) ); 
     1038        $alias = $wpdb->get_row( $wpdb->prepare( "SELECT term_id, term_group FROM $wpdb->terms WHERE slug = %s", $alias_of) ); 
    10391039        if ( $alias->term_group ) { 
    10401040            // The alias we want is already in a group, so let's use that one. 
     
    12461246 
    12471247    if ( $alias_of ) { 
    1248         $alias = $wpdb->fetch_row( $wpdb->prepare( "SELECT term_id, term_group FROM $wpdb->terms WHERE slug = %s", $alias_of) ); 
     1248        $alias = $wpdb->get_row( $wpdb->prepare( "SELECT term_id, term_group FROM $wpdb->terms WHERE slug = %s", $alias_of) ); 
    12491249        if ( $alias->term_group ) { 
    12501250            // The alias we want is already in a group, so let's use that one.