Pinking shears.

git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-10-19 07:48:22 +00:00
parent fc71934f11
commit fb4e38b0e7
34 changed files with 115 additions and 115 deletions
+3 -3
View File
@@ -540,7 +540,7 @@ class wpdb {
/**
* Sets the connection's character set.
*
*
* @param resource $dbh The resource given by mysql_connect
* @param string $charset The character set (optional)
* @param string $collate The collation (optional)
@@ -740,7 +740,7 @@ class wpdb {
* @return null Always null.
*/
function select( $db, $dbh = null) {
if ( is_null($dbh) )
if ( is_null($dbh) )
$dbh = $this->dbh;
if ( !@mysql_select_db( $db, $dbh ) ) {
@@ -1043,7 +1043,7 @@ class wpdb {
</ul>
<p>If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href='http://wordpress.org/support/'>WordPress Support Forums</a>.</p>
"/*/WP_I18N_DB_CONN_ERROR*/, $this->dbhost ), 'db_connect_fail' );
//If show errors is disabled then we need to die anyway as we don't have a working DB connection
die();
}