'<code>' .
$wpdb->blogs . '</code>',
'<code>' . DB_NAME . '</code>'
) . '</p>';
} $msg .= '<p><strong>' .
__( 'What do I do now?'
) . '</strong> ';
$msg .=
sprintf( /* translators: %s: Documentation URL. */
__( 'Read the <a href="%s" target="_blank">Debugging a WordPress Network</a> article. Some of the suggestions there may help you figure out what went wrong.'
),
__( 'https://wordpress.org/documentation/article/debugging-a-wordpress-network/'
) );
$msg .= ' ' .
__( 'If you are still stuck with this message, then check that your database contains the following tables:'
) . '</p><ul>';
foreach ( $wpdb->
tables( 'global'
) as $t =>
$table ) { if ( 'sitecategories' ===
$t ) { continue;
} $msg .= '<li>' .
$table . '</li>';
} $msg .= '</ul>';
wp_die( $msg,
$title, array
( 'response' => 500
) );
}/**
* This deprecated function formerly set the site_name property of the $current_site object.
*
* This function simply returns the object, as before.
* The bootstrap takes care of setting site_name.
*
* @access private
* @since 3.0.0
* @deprecated 3.9.0 Use get_current_site() instead.
*
* @param WP_Network $current_site
* @return WP_Network
*/