diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-28 14:16:09 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-28 14:16:09 +0000 |
| commit | 5ee109609eac4257fab820b3bbd4151e4d4ec26f (patch) | |
| tree | e12c68afd287983755e625304ee3f7022484c29d /wp-inst/wp-includes/wp-db.php | |
| parent | 9054172078e40175543a4179864b63b562f0dab5 (diff) | |
Changes from WP Core.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@89 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/wp-db.php')
| -rw-r--r-- | wp-inst/wp-includes/wp-db.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-inst/wp-includes/wp-db.php b/wp-inst/wp-includes/wp-db.php index 73da0a7..29f575d 100644 --- a/wp-inst/wp-includes/wp-db.php +++ b/wp-inst/wp-includes/wp-db.php @@ -83,6 +83,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 |
