[wp-trac] [WordPress Trac] #11010: adapt to https use
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 24 03:47:23 UTC 2009
#11010: adapt to https use
----------------------------+-----------------------------------------------
Reporter: brantgurga | Type: defect (bug)
Status: new | Priority: normal
Milestone: Future Release | Component: General
Version: | Severity: normal
Keywords: needs-patch |
----------------------------+-----------------------------------------------
Comment(by pnettle):
Just starting doing some dev stuff with wordpress so please put up with
what might be stupidity, but it seems to me this is being caused by the
fact that wordpress is building the url's for everything in theme.php
based off of get_option('siteurl'), which stores the url as http://url.
A simple solution would be to check to see if the current url is using
https, and if so replace the http:// from get_option('siteurl') with
https:// in the theme.php where it generates the url. However, wouldn't it
be better to have a more global function for this rather than simply
putting it solely in the theme.php file? Because shouldn't most places
that generate a url be using the https if it is what is currently being
used?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11010#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list