From 9120e6a9d7608656fa3c93521e1632acd177fb1e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 30 May 2014 22:00:45 +0000 Subject: [PATCH] Display the site scheme, not the current scheme on Edit Site screen in network admin. props johnbillion. fixes #28406. git-svn-id: https://develop.svn.wordpress.org/trunk@28643 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/network/site-info.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/network/site-info.php b/src/wp-admin/network/site-info.php index 92dddc661a..d0d5158525 100644 --- a/src/wp-admin/network/site-info.php +++ b/src/wp-admin/network/site-info.php @@ -42,6 +42,7 @@ $details = get_blog_details( $id ); if ( !can_edit_network( $details->site_id ) ) wp_die( __( 'You do not have permission to access this page.' ) ); +$parsed = parse_url( $details->siteurl ); $is_main_site = is_main_site( $id ); if ( isset($_REQUEST['action']) && 'update-site' == $_REQUEST['action'] ) { @@ -122,12 +123,10 @@ if ( ! empty( $messages ) ) { - - + + - +
domain ) ?>domain ) ?>