htmlspecial

git-svn-id: http://svn.automattic.com/wordpress/trunk@4065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-07-29 01:40:47 +00:00
parent 112f50f0e4
commit 3a6c948491
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ class wpdb {
$EZSQL_ERROR[] = $EZSQL_ERROR[] =
array ('query' => $this->last_query, 'error_str' => $str); array ('query' => $this->last_query, 'error_str' => $str);
$str = wp_specialchars($str, 1); $str = htmlspecialchars($str, 1);
$query = wp_specialchars($this->last_query, 1); $query = htmlspecialchars($this->last_query, 1);
// Is error output turned on or not.. // Is error output turned on or not..
if ( $this->show_errors ) { if ( $this->show_errors ) {
// If there is an error then take note of it // If there is an error then take note of it