]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/ms-load.php
WordPress 3.8.3
[autoinstalls/wordpress.git] / wp-includes / ms-load.php
index a8f3f378dc7b2af305b823ab2ba92724327e3688..09746dbd75115e475e6a186f2d2a95a831c260e5 100644 (file)
@@ -66,17 +66,17 @@ function wp_get_active_network_plugins() {
  * use the wp-content/blog-deleted.php, blog-inactive.php and
  * blog-suspended.php drop-ins.
  *
+ * @since 3.0.0
+ *
  * @return bool|string Returns true on success, or drop-in file to include.
  */
 function ms_site_check() {
-       global $wpdb, $current_site;
-
        $blog = get_blog_details();
 
        /**
         * Filter checking the status of the current blog.
         *
-        * @since 1.2.1
+        * @since 3.0.0
         *
         * @param bool null Whether to skip the blog status check. Default null.
        */
@@ -99,7 +99,7 @@ function ms_site_check() {
                if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) )
                        return WP_CONTENT_DIR . '/blog-inactive.php';
                else
-                       wp_die( sprintf( __( 'This site has not been activated yet. If you are having problems activating your site, please contact <a href="mailto:%1$s">%1$s</a>.' ), str_replace( '@', ' AT ', get_site_option( 'admin_email', "support@{$current_site->domain}" ) ) ) );
+                       wp_die( sprintf( __( 'This site has not been activated yet. If you are having problems activating your site, please contact <a href="mailto:%1$s">%1$s</a>.' ), str_replace( '@', ' AT ', get_site_option( 'admin_email', 'support@' . get_current_site()->domain ) ) ) );
        }
 
        if ( $blog->archived == '1' || $blog->spam == '1' ) {