wp/wp-admin/network/admin.php
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
child 16 a86126ab1dd4
--- a/wp/wp-admin/network/admin.php	Tue Jun 09 11:14:17 2015 +0000
+++ b/wp/wp-admin/network/admin.php	Mon Oct 14 17:39:30 2019 +0200
@@ -12,13 +12,15 @@
 /** 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
  *