From 1140390e17a12b05bd7414e05d3d4fffe0513042 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sat, 13 Oct 2007 00:45:34 +0000 Subject: [PATCH] Oops, within the class here. git-svn-id: https://develop.svn.wordpress.org/trunk@6236 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index c2de5d1e07..67fa1b8c14 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -275,7 +275,7 @@ class wpdb { $bits = array(); foreach ( array_keys($data) as $k ) $bits[] = "`$k`='$data[$k]'"; - $where_val = $wpdb->escape($where_val); + $where_val = $this->escape($where_val); return $this->query("UPDATE $table SET ".implode(', ',$bits)." WHERE $where_col = '$where_val' LIMIT 1"); }