Changeset 6366

Show
Ignore:
Timestamp:
12/09/07 11:28:57 (9 months ago)
Author:
westi
Message:

Comment out the code that can't run so as to not confuse people.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/wp-db.php

    r6342 r6366  
    129129     */ 
    130130    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        /* 
    132134        if( !$this->dbh || version_compare( phpversion(), '4.3.0' ) == '-1' ) 
    133135            return mysql_escape_string( $string ); 
    134136        else 
    135137            return mysql_real_escape_string( $string, $this->dbh ); 
     138        */ 
    136139    } 
    137140