Make WordPress Core


Ignore:
Timestamp:
04/03/2010 12:10:44 AM (16 years ago)
Author:
nacin
Message:

More MS cleanups. props ocean90. see #12460

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-options.php

    r13918 r13953  
    22require_once( './admin.php' );
    33
    4 if ( !is_multisite() )
     4if ( ! is_multisite() )
    55    wp_die( __( 'Multisite support is not enabled.' ) );
     6
     7if ( ! current_user_can( 'manage_network_options' ) )
     8    wp_die( __( 'You do not have permission to access this page.' ) );
    69
    710$title = __( 'Network Options' );
     
    912
    1013include( './admin-header.php' );
    11 
    12 if ( ! current_user_can( 'manage_network_options' ) )
    13     wp_die( __( 'You do not have permission to access this page.' ) );
    1414
    1515if (isset($_GET['updated'])) {
Note: See TracChangeset for help on using the changeset viewer.