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:
parent
29aa25c4af
commit
efbe7902ce
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue