Make WordPress Core

Ticket #30002: 30002.patch

File 30002.patch, 644 bytes (added by Craig Ralston, 11 years ago)

Replaces die() with wp_die() in ms_not_installed()

  • src/wp-includes/ms-load.php

     
    400400        $title = __( 'Error establishing a database connection' );
    401401        $msg  = '<h1>' . $title . '</h1>';
    402402        if ( ! is_admin() ) {
    403                 die( $msg );
     403                wp_die( $msg, $title );
    404404        }
    405405        $msg .= '<p>' . __( 'If your site does not display, please contact the owner of this network.' ) . '';
    406406        $msg .= ' ' . __( 'If you are the owner of this network please check that MySQL is running properly and all tables are error free.' ) . '</p>';