More MS cleanups. props ocean90. see #12460

git-svn-id: https://develop.svn.wordpress.org/trunk@13953 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-04-03 00:10:44 +00:00
parent 114cedbf17
commit 09b04d58bf
5 changed files with 54 additions and 50 deletions
+4 -4
View File
@@ -1,17 +1,17 @@
<?php
require_once( './admin.php' );
if ( !is_multisite() )
if ( ! is_multisite() )
wp_die( __( 'Multisite support is not enabled.' ) );
if ( ! current_user_can( 'manage_network_options' ) )
wp_die( __( 'You do not have permission to access this page.' ) );
$title = __( 'Network Options' );
$parent_file = 'ms-admin.php';
include( './admin-header.php' );
if ( ! current_user_can( 'manage_network_options' ) )
wp_die( __( 'You do not have permission to access this page.' ) );
if (isset($_GET['updated'])) {
?>
<div id="message" class="updated fade"><p><?php _e( 'Options saved.' ) ?></p></div>