From 7af1145a9dc8adb6333a47a492ec7b15c443f6ee Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 26 Jul 2005 20:11:41 +0000 Subject: [PATCH] It falls back to funky escaping that causes problems and is not reversible, so temporarily disabling. git-svn-id: https://develop.svn.wordpress.org/trunk@2737 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/wp-db.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 73d4be7d77..97238c3979 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