[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
Thu Dec 22 03:16:19 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:  Future Release
Component:  Networks and Sites  |     Version:  4.5
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+-----------------------------
Changes (by flixos90):

 * focuses:  administration, multisite => multisite
 * version:  trunk => 4.5
 * milestone:  Awaiting Review => Future Release


Comment:

 Thanks for the patch @greatislander!

 I think we should continue to use `esc_url()` to escape the entire URL
 here instead of using `esc_attr()` on the individual parts - other than
 that this looks like a solid change to make. :)

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


More information about the wp-trac mailing list