Do not include newline character in the beginning if the database error string
git-svn-id: https://develop.svn.wordpress.org/trunk@15447 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0e8e96649b
commit
e1e6ce1e97
@ -742,8 +742,7 @@ class wpdb {
|
||||
|
||||
if ( !@mysql_select_db( $db, $dbh ) ) {
|
||||
$this->ready = false;
|
||||
$this->bail( sprintf( /*WP_I18N_DB_SELECT_DB*/'
|
||||
<h1>Can’t select database</h1>
|
||||
$this->bail( sprintf( /*WP_I18N_DB_SELECT_DB*/'<h1>Can’t select database</h1>
|
||||
<p>We were able to connect to the database server (which means your username and password is okay) but not able to select the <code>%1$s</code> database.</p>
|
||||
<ul>
|
||||
<li>Are you sure it exists?</li>
|
||||
|
Loading…
Reference in New Issue
Block a user