Changeset 12646
- Timestamp:
- 01/07/2010 03:52:22 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-admin.php
r12632 r12646 15 15 require_once('admin-header.php'); 16 16 17 if ( is_site_admin() == false ) {17 if ( !is_super_admin() ) 18 18 wp_die( __('You do not have permission to access this page.') ); 19 }20 19 21 20 global $wpdb; -
trunk/wp-admin/ms-edit.php
r12632 r12646 5 5 wp_die( __('Multisite support is not enabled.') ); 6 6 7 if ( is_site_admin() == false ) {7 if ( !is_super_admin() ) 8 8 wp_die( __('You do not have permission to access this page.') ); 9 }10 9 11 10 do_action('wpmuadminedit', ''); -
trunk/wp-admin/ms-sites.php
r12640 r12646 11 11 12 12 require_once('admin-header.php'); 13 if( is_site_admin() == false ) { 14 wp_die( __('You do not have permission to access this page.') ); 15 } 13 14 if ( !is_super_admin() ) 15 wp_die( __('You do not have permission to access this page.') ); 16 16 17 $id = intval( $_GET['id'] ); 17 18 $protocol = is_ssl() ? 'https://' : 'http://'; -
trunk/wp-admin/ms-upgrade-site.php
r12632 r12646 11 11 require_once('admin-header.php'); 12 12 13 if ( is_site_admin() == false ) { 14 wp_die( __('You do not have permission to access this page.') ); 15 } 13 if ( !is_super_admin() ) 14 wp_die( __('You do not have permission to access this page.') ); 16 15 17 16 echo '<div class="wrap">'; -
trunk/wp-admin/ms-users.php
r12632 r12646 12 12 require_once('admin-header.php'); 13 13 14 if ( is_site_admin() == false ) {14 if ( !is_super_admin() ) 15 15 wp_die( __('You do not have permission to access this page.') ); 16 }17 16 18 17 if ( $_GET['updated'] == 'true' ) {
Note: See TracChangeset
for help on using the changeset viewer.