[wp-trac] [WordPress Trac] #18293: site_url() used instead of home_url()

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 7 21:39:13 UTC 2011


#18293: site_url() used instead of home_url()
--------------------------+------------------------------
 Reporter:  johnbillion   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by johnbillion):

 * keywords:  needs-patch => has-patch
 * version:   => 3.2.1


Comment:

 Patch replaces a few occurrences of `site_url()` with `home_url()`.

 Background: `site_url()` returns a URL with an https protocol for sites
 that use administration over SSL. `home_url()` returns the home URL with
 the correct protocol.

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


More information about the wp-trac mailing list