From 63089f57b4e5d457a8d5aac61f4ef53066675607 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 29 Jul 2006 01:40:47 +0000 Subject: [PATCH] htmlspecial git-svn-id: https://develop.svn.wordpress.org/trunk@4065 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/wp-db.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 23deef8043..071be8272d 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -93,8 +93,8 @@ class wpdb { $EZSQL_ERROR[] = array ('query' => $this->last_query, 'error_str' => $str); - $str = wp_specialchars($str, 1); - $query = wp_specialchars($this->last_query, 1); + $str = htmlspecialchars($str, 1); + $query = htmlspecialchars($this->last_query, 1); // Is error output turned on or not.. if ( $this->show_errors ) { // If there is an error then take note of it