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

WordPress Trac noreply at wordpress.org
Sun Oct 26 11:47:07 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            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by SergeyBiryukov):

 The theme
 [https://themes.trac.wordpress.org/browser/virtue/2.2.7/lib/scripts.php#L7
 uses] [source:tags/4.0/src/wp-includes/theme.php#L313
 get_template_directory_uri()], which ultimately depends on the `siteurl`
 value.

 It should work correctly with SSL if you set WordPress Address and Site
 Address in General Settings to SSL. (Note that relative URLs don't work
 there, see #21153.)

 It's also possible to alter the output of the function to remove the
 protocol using
 [https://developer.wordpress.org/reference/hooks/template_directory_uri/
 template_directory_uri] filter.

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


More information about the wp-trac mailing list