X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f..38ac4bc40322ecdc4052db4263466573e01fa51f:/wp-admin/network/site-settings.php diff --git a/wp-admin/network/site-settings.php b/wp-admin/network/site-settings.php index 1decdcbe..ecf8a12a 100644 --- a/wp-admin/network/site-settings.php +++ b/wp-admin/network/site-settings.php @@ -29,7 +29,7 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . - '

' . __('Documentation on Site Management') . '

' . + '

' . __('Documentation on Site Management') . '

' . '

' . __('Support Forums') . '

' ); @@ -40,7 +40,7 @@ if ( ! $id ) $details = get_blog_details( $id ); if ( !can_edit_network( $details->site_id ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); + wp_die( __( 'You do not have permission to access this page.' ), 403 ); $is_main_site = is_main_site( $id ); @@ -76,8 +76,8 @@ if ( isset($_GET['update']) ) { } $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) ); -$title_site_url_linked = sprintf( __('Edit Site: %2$s'), get_blogaddress_by_id( $id ), $site_url_no_http ); -$title = sprintf( __('Edit Site: %s'), $site_url_no_http ); +$title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '' . $site_url_no_http . '' ); +$title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); $parent_file = 'sites.php'; $submenu_file = 'sites.php'; @@ -105,7 +105,7 @@ foreach ( $tabs as $tab_id => $tab ) {

' . $msg . '

'; + echo '

' . $msg . '

'; } ?>
@@ -138,14 +138,14 @@ if ( ! empty( $messages ) ) { if ( strpos( $option->option_value, "\n" ) !== false ) { ?> - option_name ) ) ?> + - option_name ) ) ); ?> + option_name, array( 'siteurl', 'home' ) ) ) { ?> option_value ) ?>