[wp-trac] Re: [WordPress Trac] #9008: add a home_url() function to enforce http/https scheme

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 15 13:44:39 GMT 2009


#9008: add a home_url() function to enforce http/https scheme
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous      
     Type:  defect (bug)       |      Status:  new            
 Priority:  high               |   Milestone:  2.9            
Component:  Template           |     Version:  2.7            
 Severity:  major              |    Keywords:  has-patch early
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  needs-patch early => has-patch early


Comment:

 attached patch sticks to defining the function, enforcing the ssl setting
 of the page if relevant (no define forces the SSL), and replaces
 occurrences of get_option(home) with the new function.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9008#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list