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

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 4 18:19:03 UTC 2010


#9008: add a home_url() function to enforce http/https scheme
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous  
     Type:  enhancement        |      Status:  new        
 Priority:  high               |   Milestone:  3.0        
Component:  Template           |     Version:  2.7        
 Severity:  major              |    Keywords:  2nd-opinion
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch needs-review early => 2nd-opinion


Comment:

 I suggest we leave this one open pending extra discussion and maybe an
 extra patch. I had originally opened this one because I was testing the
 following two use-cases:

 1. browsing https when it really should be http

 2. browsing http when it really should be https

 2nd opinion welcome on how we ought to better manage those two use cases.
 Maybe we should 301 redirect. Maybe we should introduce a FORCE_SSL that
 forces the SSL pref on the front end. All options are available.

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


More information about the wp-trac mailing list