Changeset 6366
- Timestamp:
- 12/09/07 11:28:57 (9 months ago)
- Files:
-
- trunk/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/wp-db.php
r6342 r6366 129 129 */ 130 130 function escape($string) { 131 return addslashes( $string ); // Disable rest for now, causing problems 131 return addslashes( $string ); 132 // Disable rest for now, causing problems 133 /* 132 134 if( !$this->dbh || version_compare( phpversion(), '4.3.0' ) == '-1' ) 133 135 return mysql_escape_string( $string ); 134 136 else 135 137 return mysql_real_escape_string( $string, $this->dbh ); 138 */ 136 139 } 137 140
