diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 452d3c3e32..75fb1f5619 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -1,34 +1,30 @@ dbh = @mysql_connect($dbhost,$dbuser,$dbpassword); - if ( ! $this->dbh ) { + if (!$this->dbh) { die("
Error establishing a database connection! This probably means that the connection information in your wp-config.php
file is incorrect. Double check it and try again.
We're having a little trouble selecting the proper database for WordPress.
SQL/DB Error:
- [$str]
+
Database error: [$str]
$this->last_query