X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/699231ae09f7057a4d0000cdf32e50a3df6a04ca..96bc8e88cf39086a9e0a883b8e2c311fe82a5e97:/wp-admin/ms-options.php diff --git a/wp-admin/ms-options.php b/wp-admin/ms-options.php index f6121bfa..784ac24f 100644 --- a/wp-admin/ms-options.php +++ b/wp-admin/ms-options.php @@ -9,310 +9,4 @@ require_once( './admin.php' ); -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'; - -add_contextual_help($current_screen, - '

' . __('This screen sets and changes options for the network as a whole. The first site is the main site in the network and network options are pulled from that original site’s options.') . '

' . - '

' . __('Operational settings has fields for the network’s name and admin email.') . '

' . - '

' . __('Dashboard Site is an option to give a site to users who do not have a site on the system. Their default role is Subscriber, but that default can be changed. The Admin Notice Feed can provide a notice on all dashboards of the latest post via RSS or Atom, or provide no such notice if left blank.') . '

' . - '

' . __('Registration settings can disable/enable public signups. If you let others sign up for a site, install spam plugins. Spaces, not commas, should separate names banned as sites for this network.') . '

' . - '

' . __('New site settings are defaults applied when a new site is created in the network. These include welcome email for when a new site or user account is registered, and what᾿s put in the first post, page, comment, comment author, and comment URL.') . '

' . - '

' . __('Upload settings control the size of the uploaded files and the amount of available upload space for each site. You can change the default value for specific sites when you edit a particular site. Allowed file types are also listed (space separated only).') . '

' . - '

' . __('Checkboxes for media upload buttons set which are shown in the visual editor. If unchecked, a generic upload button is still visible; other media types can still be uploaded if on the allowed file types list.') . '

' . - '

' . __('Menu setting enables/disables the plugin menus from appearing for non super admins, so that only super admins, not site admins, have access to activate plugins.') . '

' . - '

' . __('Super admins can no longer be added on the Options screen. You must now go to the list of existing users on Super Admin > Users and click on Username or the Edit action link below that name. This goes to an Edit User page where you can check a box to grant super admin privileges.') . '

' . - '

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

' . - '

' . __('Network Options Documentation') . '

' . - '

' . __('Support Forums') . '

' -); - -include( './admin-header.php' ); - -if (isset($_GET['updated'])) { - ?> -

- - -
- -

-
- -

- - - - - - - - - - -
- -
- -
- -
- support@%s is recommended.' ), $current_site->domain ); ?> -
-

- - - - - - - - - - - - - -
- domain . $current_site->path, '', $details->domain . $details->path ) ) ) ); - } else { - $blogname = ''; - }?> - - -
- New users are added to this site as the user role defined below if they don’t have a site. Leave blank for the main site. Users with the Subscriber role on the old site will be moved to the new site if changed. The new site will be created if it does not exist.' ); ?> -
- -
- -

-
- - id, 'feed/' ) ) - echo __( 'A good one to use would be the feed from your main site: ' ) . esc_url( get_home_url( $current_site->id, 'feed/' ) ) ?>
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-

- ' . __( 'If registration is disabled, please set NOBLOGREDIRECT in wp-config.php to a URL you will redirect visitors to if they visit a non-existent site.' ) . '

'; - } ?> -
- -
- -
- " size="45" /> -
- -
- - -
- -
- -
- -
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
-

- - - - - - - - - - - - - - - - - - - - - -

-
-
-
-
' ); ?>
- - -

-

- - - - - - -
- -
- - -

- - - - - - - - - -

-
-
- - +wp_redirect( network_admin_url('settings.php') ); \ No newline at end of file