Support » Themes and Templates » Custom Community » site_url(), or home_url()?

site_url(), or home_url()?

  • I’ve just installed Custom Community 1.14 using automatic installation from the WP dashboard. I noticed that the URL where the blog title in the header is not the home url (where index.php is, e.g. http://example.com), but site url (where the wordpress core files are, e.g. http://example.com/wordpress).

    After some quick tracing, it seems that all the calls to site_url(), in the function header_logo() (lines 196, 200, 205, and 208), in custom-community/core/includes/theme-generator/theme-generator.php, should have been home_url().

    Is this a bug? Or is there some reason that site_url() is called instead?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘site_url(), or home_url()?’ is closed to new replies.
Skip to toolbar