Changeset 6236 for trunk/wp-includes/wp-db.php
- Timestamp:
- 10/13/2007 12:45:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r6221 r6236 276 276 foreach ( array_keys($data) as $k ) 277 277 $bits[] = "`$k`='$data[$k]'"; 278 $where_val = $ wpdb->escape($where_val);278 $where_val = $this->escape($where_val); 279 279 return $this->query("UPDATE $table SET ".implode(', ',$bits)." WHERE $where_col = '$where_val' LIMIT 1"); 280 280 }
Note: See TracChangeset
for help on using the changeset viewer.