mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user