[wp-trac] [WordPress Trac] #30105: css defining protocol

WordPress Trac noreply at wordpress.org
Sun Oct 26 06:42:00 UTC 2014


#30105: css defining protocol
------------------------------+-----------------------------
 Reporter:  666threesixes666  |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Themes            |    Version:  3.8.2
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 {{{when switching between http & https css breaks.  css has the protocol
 defined rather than using // it uses http:// or https://}}}

 to produce the problem load in apache and localhost:80, then
 localhost:443.  one or the other will be broken.

 sane:
 {{{<link rel="stylesheet" id="open-sans-css"
 href="//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin
 %2Clatin-ext&ver=4.0" type="text/css" media="all">}}}

 insane:
 {{{<link rel="stylesheet" id="kadence_bootstrap-css"
 href="http://localhost/wordpress/wp-
 content/themes/virtue/assets/css/bootstrap.css?ver=224" type="text/css"
 media="all">}}}

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


More information about the wp-trac mailing list