[wp-trac] [WordPress Trac] #39786: Multisite: Site Address (URL) does not reflect proper https protocol on fresh install

WordPress Trac noreply at wordpress.org
Sat Feb 4 19:46:22 UTC 2017


#39786: Multisite: Site Address (URL) does not reflect proper https protocol on
fresh install
--------------------------------+-----------------------------
 Reporter:  jrmorris77          |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  4.7.2
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 '''Description of issue:'''
 When doing a fresh install of WordPress 4.7.2 using https:// as the
 protocol throughout the entire process, when enabling multisite Siteurl
 and Home URL are correctly registered as https:// but Site Address (URL)
 stays http://. After checking the DB, no references are in the database
 other than the default post content and default comment author URL. All
 options and meta values reference the correct schema.

 Line 161: /wp-admin/network/site-info.php
 {{{#!php
 <?php
                 // The main site of the network should not be updated on
 this page.
                 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>
                 </tr>
                 <?php
                 // For any other site, the scheme, domain, and path can
 all be changed.
                 else : ?>
                 <tr class="form-field form-required">
                         <th scope="row"><?php _e( 'Site Address (URL)' );
 ?></th>
                         <td><input name="blog[url]" type="text" id="url"
 value="<?php echo $parsed_scheme . '://' . esc_attr( $details->domain ) .
 esc_attr( $details->path ); ?>" /></td>
                 </tr>
                 <?php endif; ?>
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39786>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list