Changeset 31657 for trunk/src/wp-includes/ms-load.php
- Timestamp:
- 03/07/2015 05:34:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-load.php
r30982 r31657 396 396 global $wpdb, $domain, $path; 397 397 398 if ( ! is_admin() ) { 399 dead_db(); 400 } 401 398 402 wp_load_translations_early(); 399 403 400 404 $title = __( 'Error establishing a database connection' ); 405 401 406 $msg = '<h1>' . $title . '</h1>'; 402 if ( ! is_admin() ) {403 die( $msg );404 }405 407 $msg .= '<p>' . __( 'If your site does not display, please contact the owner of this network.' ) . ''; 406 408 $msg .= ' ' . __( 'If you are the owner of this network please check that MySQL is running properly and all tables are error free.' ) . '</p>'; … … 421 423 $msg .= '</ul>'; 422 424 423 wp_die( $msg, $title );425 wp_die( $msg, $title, array( 'response' => 500 ) ); 424 426 } 425 427
Note: See TracChangeset
for help on using the changeset viewer.