X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/784f914b1e4b1c62d6657e86397c2e83bcee4295..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/network/site-settings.php diff --git a/wp-admin/network/site-settings.php b/wp-admin/network/site-settings.php index b945ea74..550fae96 100644 --- a/wp-admin/network/site-settings.php +++ b/wp-admin/network/site-settings.php @@ -14,7 +14,7 @@ if ( ! is_multisite() ) wp_die( __( 'Multisite support is not enabled.' ) ); if ( ! current_user_can( 'manage_sites' ) ) - wp_die( __( 'You do not have sufficient permissions to edit this site.' ) ); + wp_die( __( 'Sorry, you are not allowed to edit this site.' ) ); get_current_screen()->add_help_tab( array( 'id' => 'overview', @@ -44,7 +44,7 @@ if ( ! $details ) { } if ( !can_edit_network( $details->site_id ) ) - wp_die( __( 'You do not have permission to access this page.' ), 403 ); + wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); $is_main_site = is_main_site( $id ); @@ -95,21 +95,14 @@ require( ABSPATH . 'wp-admin/admin-header.php' );

|

- + $id, + 'selected' => 'site-settings' +) ); + if ( ! empty( $messages ) ) { foreach ( $messages as $msg ) echo '

' . $msg . '

';