Make WordPress Core

Ticket #39365: 39365.2.diff

File 39365.2.diff, 583 bytes (added by greatislander, 7 years ago)

Patch from https://github.com/WordPress/WordPress/pull/263

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

    diff --git a/wp-admin/network/site-info.php b/wp-admin/network/site-info.php
    index d5d5ce4..17df6ae 100644
    a b  
    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.