Make WordPress Core

Changeset 6366


Ignore:
Timestamp:
12/09/2007 11:28:57 AM (17 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.