No magic vals
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c1928c6c58
commit
7f6eafe9cc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue