]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/network/admin.php
WordPress 4.7.1-scripts
[autoinstalls/wordpress.git] / wp-admin / network / admin.php
index ad760f3e21a97a5df028c971db267762e735bc03..693fa5aa1168cf8f619df6ea220d66d64cba66a1 100644 (file)
@@ -12,13 +12,15 @@ define( 'WP_NETWORK_ADMIN', true );
 /** Load WordPress Administration Bootstrap */
 require_once( dirname( dirname( __FILE__ ) ) . '/admin.php' );
 
-if ( ! is_multisite() )
+// Do not remove this check. It is required by individual network admin pages.
+if ( ! is_multisite() ) {
        wp_die( __( 'Multisite support is not enabled.' ) );
+}
 
 $redirect_network_admin_request = 0 !== strcasecmp( $current_blog->domain, $current_site->domain ) || 0 !== strcasecmp( $current_blog->path, $current_site->path );
 
 /**
- * Filter whether to redirect the request to the Network Admin.
+ * Filters whether to redirect the request to the Network Admin.
  *
  * @since 3.2.0
  *