[wp-trac] [WordPress Trac] #39365: Site info always displays main site URL as http even if the URL scheme is https

WordPress Trac noreply at wordpress.org
Wed Dec 21 19:45:52 UTC 2016


#39365: Site info always displays main site URL as http even if the URL scheme is
https
---------------------------------------+-----------------------------
 Reporter:  greatislander              |      Owner:
     Type:  defect (bug)               |     Status:  new
 Priority:  normal                     |  Milestone:  Awaiting Review
Component:  Networks and Sites         |    Version:  trunk
 Severity:  normal                     |   Keywords:
  Focuses:  administration, multisite  |
---------------------------------------+-----------------------------
 Since [36682], the non-editable main site URL is always displayed as
 `http` in `/wp-admin/network/site-info.php`. The URL is
 [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/network/site-
 info.php?rev=36682#L176 constructed] by applying `esc_url()` to a
 concatenated string composed of `$details->domain` and `$details->path`,
 which always results in an `http` URL because no URL scheme is provided.
 This is counterintuitive, as `site-info.php` reflects the actual URL
 scheme for all the other sites in a network.

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


More information about the wp-trac mailing list