[wp-trac] [WordPress Trac] #27499: When creating new subdomain site, siteurl and home are set to http:// instead of https://

WordPress Trac noreply at wordpress.org
Mon Jun 9 18:32:07 UTC 2014


#27499: When creating new subdomain site, siteurl and home are set to http://
instead of https://
--------------------------------+--------------------------
 Reporter:  tomdxw              |       Owner:  johnbillion
     Type:  defect (bug)        |      Status:  accepted
 Priority:  normal              |   Milestone:  4.0
Component:  Networks and Sites  |     Version:  3.8.1
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:   => has-patch
 * owner:   => johnbillion
 * status:  new => accepted
 * milestone:  Awaiting Review => 4.0


Comment:

 [attachment:27499.diff] tackles this.

 When installing the blog it sets the scheme of `siteurl` and `home` to
 match the network settings for `siteurl` and `home` respectively.

 `get_site_option()` is used rather than
 `network_site_url()`/`network_home_url()` so things like filters and
 `FORCE_SSL_ADMIN` can be used without polluting the URLs.

 Moving to 4.0 as part of our improvements to SSL support.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27499#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list