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

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 18:34:05 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
-------------------------------+--------------------------------------------

Comment(by nacin):

 Replying to [comment:26 Denis-de-Bernardy]:
 > for backwards compat, I think we should stick to making
 get_bloginfo('url') return home_url(). I'm sure a lot of themes and
 plugins use that function.

 Right but at the same time we should suggest that they switch over from
 get_bloginfo('url') as well. home_url() is much cleaner.

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


More information about the wp-trac mailing list