Make WordPress Core


Ignore:
Timestamp:
03/09/2010 06:14:42 AM (15 years ago)
Author:
nacin
Message:

Allow localhost in a multisite subdirectory install. More network.php improvements. see #12457 for localhost. see #11816

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-load.php

    r13611 r13622  
    183183 * Used when blog does not exist. Checks for a missing $wpdb->site table as well.
    184184 *
     185 * @todo update for 3.0, pare down, and i18n
     186 *
    185187 * @access private
    186188 * @since 3.0.0
     
    189191    global $wpdb, $domain, $path;
    190192
    191     $msg = '<h1>' . esc_html( 'Fatal Error' ) . '</h1>';
    192     $msg  = '<p>' . 'If your site does not display, please contact the owner of this network.' . '</p>';
     193    $msg = '<h1>' . 'Fatal Error' . '</h1>';
     194    $msg .= '<p>' . 'If your site does not display, please contact the owner of this network.' . '</p>';
    193195    $msg .= '<p>' . 'If you are the owner of this network please check that MySQL is running properly and all tables are error free.' . '</p>';
    194196    if ( ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) )
     
    196198    else
    197199        $msg .= '<p>' . sprintf( '<strong>Could Not Find Site!</strong> Searched for table <em>%1$s</em> in <code>%2$s</code>. Is that right?', $domain . $path, DB_NAME, $wpdb->blogs ) . '</p>';
    198     $msg .= '<h1>' . esc_html( 'What do I do now?' ) . '</h1>';
     200    $msg .= '<h1>' . 'What do I do now?' . '</h1>';
    199201    // @todo Update WPMU codex link.
    200202    $msg .= '<p>' . 'Read the <a target="_blank" href="http://codex.wordpress.org/Debugging_WPMU">bug report</a> page. Some of the guidelines there may help you figure out what went wrong.' . '</p>';
     
    205207    $msg .= '</ul>';
    206208    // @todo Update WPMU codex link and support instructions.
    207     $msg = '<p>' . 'If you suspect a problem please report it to the support forums but you must include the information asked for in the <a target="_blank" href="http://codex.wordpress.org/Debugging_WPMU">WPMU bug reporting guidelines</a>! ' . '</p>';
    208 
    209     // @todo This file no longer exists post-merge.
    210     if ( is_file( 'release-info.txt' ) ) {
    211         $msg .= '<p>' . 'Your bug report must include the following text:' . '</p>';
    212         $info = file( 'release-info.txt' );
    213         $msg .= $info[ 4 ] . '"';
    214     }
     209    $msg .= '<p>' . 'If you suspect a problem please report it to the support forums but you must include the information asked for in the <a target="_blank" href="http://codex.wordpress.org/Debugging_WPMU">WPMU bug reporting guidelines</a>! ' . '</p>';
    215210
    216211    die( $msg );
Note: See TracChangeset for help on using the changeset viewer.