WordPress.org

Make WordPress Core

Changeset 15447


Ignore:
Timestamp:
07/19/2010 08:35:15 PM (11 years ago)
Author:
nbachiyski
Message:

Do not include newline character in the beginning if the database error string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r15355 r15447  
    743743        if ( !@mysql_select_db( $db, $dbh ) ) {
    744744            $this->ready = false;
    745             $this->bail( sprintf( /*WP_I18N_DB_SELECT_DB*/'
    746 <h1>Can&#8217;t select database</h1>
     745            $this->bail( sprintf( /*WP_I18N_DB_SELECT_DB*/'<h1>Can&#8217;t select database</h1>
    747746<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>
    748747<ul>
Note: See TracChangeset for help on using the changeset viewer.