Make WordPress Core


Ignore:
Timestamp:
10/13/2007 12:45:34 AM (18 years ago)
Author:
markjaquith
Message:

Oops, within the class here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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    }
Note: See TracChangeset for help on using the changeset viewer.