X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..3d39054f012aefe514b3f5509e32f09fc4feda44:/wp-admin/network/site-themes.php diff --git a/wp-admin/network/site-themes.php b/wp-admin/network/site-themes.php index f2e6f584..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'] );