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
Is this a bug? Or is there some reason that site_url() is called instead?
- The topic ‘site_url(), or home_url()?’ is closed to new replies.