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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 23 17:24:31 UTC 2009


#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:  has-patch needs-review early
-------------------------------+--------------------------------------------

Comment(by ryan):

 Refreshed patch. I changed it so if you're in the admin and is_ssl() the
 links are not forced to be https since most people wouldn't want that.  We
 can add defines for those who want that.

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


More information about the wp-trac mailing list