Changeset 6236

Show
Ignore:
Timestamp:
10/13/07 00:45:34 (1 year ago)
Author:
markjaquith
Message:

Oops, within the class here.

Files:

Legend:

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

    r6221 r6236  
    276276        foreach ( array_keys($data) as $k ) 
    277277            $bits[] = "`$k`='$data[$k]'"; 
    278         $where_val = $wpdb->escape($where_val); 
     278        $where_val = $this->escape($where_val); 
    279279        return $this->query("UPDATE $table SET ".implode(', ',$bits)." WHERE $where_col = '$where_val' LIMIT 1"); 
    280280    }