WordPress.org

Make WordPress Core

Ticket #16640: 16640.patch

File 16640.patch, 817 bytes (added by SergeyBiryukov, 7 years ago)
  • wp-includes/wp-db.php

     
    10491049</ul>
    10501050<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>
    10511051"/*/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;
    10591053                }
    10601054
    10611055                $this->set_charset( $this->dbh );