[wp-trac] [WordPress Trac] #35238: Describe the difference between site_url and home_url

WordPress Trac noreply at wordpress.org
Wed Jan 27 02:54:36 UTC 2016


#35238: Describe the difference between site_url and home_url
-------------------------+---------------------------
 Reporter:  ericlewis    |       Owner:  DrewAPicture
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  4.5
Component:  General      |     Version:  0.71
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  docs
-------------------------+---------------------------

Comment (by ericlewis):

 In [changeset:"36408"]:
 {{{
 #!CommitTicketReference repository="" revision="36408"
 General: Document the difference between site_url() and home_url().

 `site_url()` returns a url where WordPress application files are
 accessible (e.g. where the `wp-admin/` folder resides). `home_url()`
 returns a url where the front-end of the WordPress site can be visited.

 See #35238.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35238#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list