X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/53f4633144ed68c8b8fb5861f992b5489894a940..3d39054f012aefe514b3f5509e32f09fc4feda44:/wp-admin/network/settings.php diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index 1872eb81..bad65475 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -17,32 +17,11 @@ 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.' ), 403 ); + wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); $title = __( 'Network Settings' ); $parent_file = 'settings.php'; -/** - * Print JavaScript in the header on the Network Settings screen. - * - * @since 4.1.0 -*/ -function network_settings_add_js() { -?> - -add_help_tab( array( @@ -83,6 +62,7 @@ if ( $_POST ) { 'first_post', 'first_page', 'first_comment', 'first_comment_url', 'first_comment_author', 'welcome_email', 'welcome_user_email', 'fileupload_maxk', 'global_terms_enabled', 'illegal_names', 'limited_email_domains', 'banned_email_domains', 'WPLANG', 'admin_email', + 'first_comment_email', ); // Handle translation install. @@ -114,7 +94,7 @@ if ( $_POST ) { include( ABSPATH . 'wp-admin/admin-header.php' ); if ( isset( $_GET['updated'] ) ) { - ?>

@@ -122,7 +102,7 @@ if ( isset( $_GET['updated'] ) ) {

-

+

@@ -141,7 +121,7 @@ if ( isset( $_GET['updated'] ) ) {
-

+

@@ -158,7 +138,13 @@ if ( isset( $_GET['updated'] ) ) {
' . __( '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.' ) . '

'; + echo '

'; + /* translators: 1: NOBLOGREDIRECT 2: wp-config.php */ + printf( __( 'If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site.' ), + 'NOBLOGREDIRECT', + 'wp-config.php' + ); + echo '

'; } ?> @@ -217,7 +203,7 @@ if ( isset( $_GET['updated'] ) ) {
-

+

@@ -273,12 +259,21 @@ if ( isset( $_GET['updated'] ) ) { + + + +
- +

+ +

+ +

+
@@ -289,12 +284,12 @@ if ( isset( $_GET['updated'] ) ) {
-

+

-