Skip to content

Commit efbe790

Browse files
committed
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
1 parent 29aa25c commit efbe790

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/network/site-info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
if ( $is_main_site ) : ?>
163163
<tr class="form-field">
164164
<th scope="row"><?php _e( 'Site Address (URL)' ); ?></th>
165-
<td><?php echo esc_url( $details->domain . $details->path ); ?></td>
165+
<td><?php echo esc_url( $parsed_scheme . '://' . $details->domain . $details->path ); ?></td>
166166
</tr>
167167
<?php
168168
// For any other site, the scheme, domain, and path can all be changed.

0 commit comments

Comments
 (0)