Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Update template-settings-info.php #105

Merged
merged 1 commit into from
Apr 12, 2016
Merged

Conversation

piscis
Copy link
Contributor

@piscis piscis commented Apr 12, 2016

https://codex.wordpress.org/Function_Reference/site_url
The site_url template tag retrieves the site url for the current site (where the WordPress core files reside)

Incase you're moved the Wordpress core files to its own directory, Wordpress will suggest that you use http://[your-domain]/[your-wp-core-files-dir] instead of http://[your-domain]/.

I think to use home_url() instead is a better way in this scenario.

Use home_url() instead of site_url()
@diegoquinteiro diegoquinteiro merged commit 4ef2080 into Automattic:master Apr 12, 2016
@diegoquinteiro
Copy link
Collaborator

Hi @piscis,

Thanks for your contribution. That makes a lot of sense!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants