Ticket #14654: 14654.patch
File 14654.patch, 621 bytes (added by , 13 years ago) |
---|
-
wp-includes/wp-db.php
517 517 518 518 $this->dbuser = $dbuser; 519 519 520 $this->dbh = @mysql_connect( $dbhost, $dbuser, $dbpassword, true ); 520 if ( WP_DEBUG ) { 521 $this->dbh = mysql_connect( $dbhost, $dbuser, $dbpassword, true ); 522 } else { 523 $this->dbh = @mysql_connect( $dbhost, $dbuser, $dbpassword, true ); 524 } 525 521 526 if ( !$this->dbh ) { 522 527 $this->bail( sprintf( /*WP_I18N_DB_CONN_ERROR*/" 523 528 <h1>Error establishing a database connection</h1>