From 9b983ead2237d0a6c68553fa213f705db3b10248 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 29 Jul 2006 01:45:17 +0000 Subject: [PATCH] No magic vals git-svn-id: http://svn.automattic.com/wordpress/trunk@4067 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 071be8272..f88ab5166 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 = htmlspecialchars($str, 1); - $query = htmlspecialchars($this->last_query, 1); + $str = htmlspecialchars($str, ENT_QUOTES); + $query = htmlspecialchars($this->last_query, ENT_QUOTES); // Is error output turned on or not.. if ( $this->show_errors ) { // If there is an error then take note of it