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-users.php

    r13941 r13953  
    55    wp_die( __( 'Multisite support is not enabled.' ) );
    66
     7if ( ! current_user_can( 'manage_network_users' ) )
     8    wp_die( __( 'You do not have permission to access this page.' ) );
     9
    710$title = __( 'Users' );
    811$parent_file = 'ms-admin.php';
     
    1114
    1215require_once( './admin-header.php' );
    13 
    14 if ( ! current_user_can( 'manage_network_users' ) )
    15     wp_die( __( 'You do not have permission to access this page.' ) );
    1616
    1717if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['action'] ) ) {
     
    2727            break;
    2828            case 'all_notspam':
    29                 _e( 'Users marked as not spam.' );
     29                _e( 'Users removed from spam.' );
    3030            break;
    3131            case 'all_delete':
Note: See TracChangeset for help on using the changeset viewer.