diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index a6eb1c92b0..02d206c362 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -989,16 +989,16 @@ class wpdb { $dbhname = "dbh" . $action; $this->$dbhname = @mysql_connect( $details[ 'db_host' ], $details[ 'db_user' ], $details[ 'db_password' ] ); if (!$this->$dbhname ) { - $this->bail(/*WP_I18N_DB_CONNECT_DB*/" + $this->bail( sprintf( /*WP_I18N_DB_CONN_ERROR*/"

Error establishing a database connection

-

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at {$details['db_host']}. This could mean your host's database server is down.

+

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at %s. This could mean your host's database server is down.

If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

-"/*/WP_I18N_DB_CONNECT_DB*/); +"/*/WP_I18N_DB_CONN_ERROR*/, $details['db_host'] ), 'db_connect_fail' ); } $this->select( $details[ 'db_name' ], $this->$dbhname ); }