diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 4aaf6b5867..a6b7707f4b 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -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 ); + */ } /**