X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4f9d63e13cd8c6e275797c75b401b074b82937bc..refs/tags/wordpress-3.3.1-scripts:/wp-admin/ms-admin.php diff --git a/wp-admin/ms-admin.php b/wp-admin/ms-admin.php index 0461c5cb..5ebb14c2 100644 --- a/wp-admin/ms-admin.php +++ b/wp-admin/ms-admin.php @@ -9,68 +9,6 @@ require_once( './admin.php' ); -if ( !is_multisite() ) - wp_die( __( 'Multisite support is not enabled.' ) ); - -if ( ! current_user_can( 'manage_network' ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); - -$title = __( 'Network Admin' ); -$parent_file = 'ms-admin.php'; - -add_contextual_help($current_screen, - '

' . __('Until WordPress 3.0, running multiple sites required using WordPress MU instead of regular WordPress. In version 3.0, these applications have merged. If you are a former MU user, you should be aware of the following changes:') . '

' . - '' . - '

' . __('This screen provides the network administrator with links to the screens for Sites and Users to either create a new site or user, or to search existing users and sites. Those screens are also accessible through the left-hand navigation in the Super Admin section.') . '

' . - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Super Admin Menu') . '

' . - '

' . __('Support Forums') . '

' -); - -require_once( './admin-header.php' ); - -$c_users = get_user_count(); -$c_blogs = get_blog_count(); - -$user_text = sprintf( _n( '%s user', '%s users', $c_users ), number_format_i18n( $c_users ) ); -$blog_text = sprintf( _n( '%s site', '%s sites', $c_blogs ), number_format_i18n( $c_blogs ) ); - -$sentence = sprintf( __( 'You have %1$s and %2$s.' ), $blog_text, $user_text ); +wp_redirect( network_admin_url() ); +exit; ?> - -
- -

- - -
- -

- - -
-

- - - -

-
- -
-

- - - - -

-
- - - -
- -