Changeset 6366
- Timestamp:
- 12/09/2007 11:28:57 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.