mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Do not include newline character in the beginning if the database error string
git-svn-id: http://svn.automattic.com/wordpress/trunk@15447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2160674a67
commit
22bc77ccee
@ -742,8 +742,7 @@ class wpdb {
|
|||||||
|
|
||||||
if ( !@mysql_select_db( $db, $dbh ) ) {
|
if ( !@mysql_select_db( $db, $dbh ) ) {
|
||||||
$this->ready = false;
|
$this->ready = false;
|
||||||
$this->bail( sprintf( /*WP_I18N_DB_SELECT_DB*/'
|
$this->bail( sprintf( /*WP_I18N_DB_SELECT_DB*/'<h1>Can’t select database</h1>
|
||||||
<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>
|
<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>
|
<ul>
|
||||||
<li>Are you sure it exists?</li>
|
<li>Are you sure it exists?</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user