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. https://example.com), but site url (where the wordpress core files are, e.g. https://example.com/wordpress).
After some quick tracing, it seems that all the calls to
site_url()
, in the functionheader_logo()
(lines 196, 200, 205, and 208), incustom-community/core/includes/theme-generator/theme-generator.php
, should have beenhome_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.