Ticket #16640: 16640.patch
| File 16640.patch, 817 bytes (added by SergeyBiryukov, 2 years ago) |
|---|
-
wp-includes/wp-db.php
1049 1049 </ul> 1050 1050 <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> 1051 1051 "/*/WP_I18N_DB_CONN_ERROR*/, $this->dbhost ), 'db_connect_fail' ); 1052 1053 // If show errors is disabled then we need to die anyway as we don't have a working DB connection 1054 // unless we're trying to test the initial connection, in which case setup-config.php will handle. 1055 if ( defined( 'WP_SETUP_CONFIG' ) ) 1056 return; 1057 1058 die(); 1052 return; 1059 1053 } 1060 1054 1061 1055 $this->set_charset( $this->dbh );