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

Props greatislander.
Fixes #39365.

Built from https://develop.svn.wordpress.org/trunk@39930


git-svn-id: http://core.svn.wordpress.org/trunk@39867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Felix Arntz 2017-01-20 17:03:41 +00:00
parent 8062df694f
commit c8de21c0c5
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-alpha-39929'; $wp_version = '4.8-alpha-39930';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.