diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 73d4be7d7..97238c397 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -77,6 +77,7 @@ class wpdb { // Format a string correctly for safe insert under all PHP conditions function escape($string) { + 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