Multisite: Remove redundant is_multisite() checks in network admin templates.

`wp-admin/network/admin.php` is required by all of the individual network templates and begins with an `is_multisite()` check of its own. Because of this, we can remove the 26 other checks in the individual templates.

Props flixos90.
Fixes #37447.


git-svn-id: https://develop.svn.wordpress.org/trunk@38657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt
2016-09-27 15:38:47 +00:00
parent 4799f61d23
commit 61f014b9fc
27 changed files with 3 additions and 80 deletions

View File

@@ -10,7 +10,4 @@
/** Load WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
if ( ! is_multisite() )
wp_die( __( 'Multisite support is not enabled.' ) );
require( ABSPATH . 'wp-admin/plugins.php' );