X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..febc815b2c9d85be5717da9e8d164bd2daa97e31:/wp-admin/network/site-settings.php diff --git a/wp-admin/network/site-settings.php b/wp-admin/network/site-settings.php index f03803e1..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 . '

';