Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update template-settings-info.php #105

Merged
merged 1 commit into from Apr 12, 2016

Conversation

Projects
None yet
2 participants
@piscis
Copy link
Contributor

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.

Update template-settings-info.php
Use home_url() instead of site_url()

@diegoquinteiro diegoquinteiro merged commit 4ef2080 into Automattic:master Apr 12, 2016

@diegoquinteiro

This comment has been minimized.

Copy link
Collaborator

commented Apr 12, 2016

Hi @piscis,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.