Multisite: Display correct scheme for the main site in `site-info.php`.

Props greatislander.
Fixes #39365.


git-svn-id: https://develop.svn.wordpress.org/trunk@39930 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Felix Arntz 2017-01-20 17:02:37 +00:00
parent 29aa25c4af
commit efbe7902ce
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ if ( ! empty( $messages ) ) {
if ( $is_main_site ) : ?>
<tr class="form-field">
<th scope="row"><?php _e( 'Site Address (URL)' ); ?></th>
<td><?php echo esc_url( $details->domain . $details->path ); ?></td>
<td><?php echo esc_url( $parsed_scheme . '://' . $details->domain . $details->path ); ?></td>
</tr>
<?php
// For any other site, the scheme, domain, and path can all be changed.