X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/784f914b1e4b1c62d6657e86397c2e83bcee4295..3d39054f012aefe514b3f5509e32f09fc4feda44:/wp-admin/network/site-users.php diff --git a/wp-admin/network/site-users.php b/wp-admin/network/site-users.php index 77122e82..a3857b70 100644 --- a/wp-admin/network/site-users.php +++ b/wp-admin/network/site-users.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.')); $wp_list_table = _get_list_table('WP_Users_List_Table'); $wp_list_table->prepare_items(); @@ -60,7 +60,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 ); @@ -185,7 +185,7 @@ $parent_file = 'sites.php'; $submenu_file = 'sites.php'; /** - * Filter whether to show the Add Existing User form on the Multisite Users screen. + * Filters whether to show the Add Existing User form on the Multisite Users screen. * * @since 3.1.0 * @@ -204,20 +204,12 @@ var current_site_id = ;

|

- $id, + 'selected' => 'site-users' +) ); if ( isset($_GET['update']) ) : switch($_GET['update']) { @@ -300,7 +292,7 @@ if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_us