Make WordPress Core

Changeset 39930


Ignore:
Timestamp:
01/20/2017 05:02:37 PM (8 years ago)
Author:
flixos90
Message:

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

Props greatislander.
Fixes #39365.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/site-info.php

    r38824 r39930  
    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
Note: See TracChangeset for help on using the changeset viewer.