Comment out the code that can't run so as to not confuse people.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
83afcae858
commit
43b212e86d
|
@ -128,11 +128,14 @@ class wpdb {
|
|||
* @return string query safe string
|
||||
*/
|
||||
function escape($string) {
|
||||
return addslashes( $string ); // Disable rest for now, causing problems
|
||||
return addslashes( $string );
|
||||
// Disable rest for now, causing problems
|
||||
/*
|
||||
if( !$this->dbh || version_compare( phpversion(), '4.3.0' ) == '-1' )
|
||||
return mysql_escape_string( $string );
|
||||
else
|
||||
return mysql_real_escape_string( $string, $this->dbh );
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue