at your database now.' ), '' . $wpdb->site . '' ) . '

'; } else { $msg .= '

' . sprintf( /* translators: 1: site url, 2: table name, 3: database name */ __( 'Could not find site %1$s. Searched for table %2$s in database %3$s. Is that right?' ), '' . rtrim( $domain . $path, '/' ) . '', '' . $wpdb->blogs . '', '' . DB_NAME . '' ) . '

'; } $msg .= '

' . __( 'What do I do now?' ) . ' '; /* translators: %s: Codex URL */ $msg .= sprintf( __( 'Read the bug report page. Some of the guidelines there may help you figure out what went wrong.' ), __( 'https://codex.wordpress.org/Debugging_a_WordPress_Network' ) ); $msg .= ' ' . __( 'If you’re still stuck with this message, then check that your database contains the following tables:' ) . '

'; 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 object $current_site * @return object */ function get_current_site_name( $current_site ) { _deprecated_function( __FUNCTION__, '3.9.0', 'get_current_site()' ); return $current_site; } /** * This deprecated function managed much of the site and network loading in multisite. * * The current bootstrap code is now responsible for parsing the site and network load as * well as setting the global $current_site object. * * @access private * @since 3.0.0 * @deprecated 3.9.0 * * @global object $current_site * * @return object */ function wpmu_current_site() { global $current_site; _deprecated_function( __FUNCTION__, '3.9.0' ); return $current_site; } /** * Retrieve an object containing information about the requested network. * * @since 3.9.0 * @deprecated 4.7.0 Use `get_network()` * @see get_network() * * @internal In 4.6.0, converted to use get_network() * * @param object|int $network The network's database row or ID. * @return WP_Network|false Object containing network information if found, false if not. */ function wp_get_network( $network ) { _deprecated_function( __FUNCTION__, '4.7.0', 'get_network()' ); $network = get_network( $network ); if ( null === $network ) { return false; } return $network; }