No magic vals

git-svn-id: https://develop.svn.wordpress.org/trunk@4067 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-07-29 01:45:17 +00:00
parent 63089f57b4
commit da4045e886
1 changed files with 2 additions and 2 deletions

View File

@ -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