X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4feeb71a9d812a9ae371c28a3d8b442a4394ded7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/network/site-themes.php diff --git a/wp-admin/network/site-themes.php b/wp-admin/network/site-themes.php index d48e2ca8..f545f475 100644 --- a/wp-admin/network/site-themes.php +++ b/wp-admin/network/site-themes.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 manage themes for this site.' ) ); + wp_die( __( 'Sorry, you are not allowed to manage themes for this site.' ) ); get_current_screen()->add_help_tab( array( 'id' => 'overview', @@ -67,7 +67,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 ); @@ -149,20 +149,12 @@ require( ABSPATH . 'wp-admin/admin-header.php' ); ?>

|

- $id, + 'selected' => 'site-themes' +) ); if ( isset( $_GET['enabled'] ) ) { $enabled = absint( $_GET['enabled'] );