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

site_url() vs home_url() info check #119

Closed
justintadlock opened this issue Mar 8, 2016 · 1 comment · Fixed by #242
Closed

site_url() vs home_url() info check #119

justintadlock opened this issue Mar 8, 2016 · 1 comment · Fixed by #242
Labels
has PR Has pull request

Comments

@justintadlock
Copy link
Contributor

I think it might be worth adding a quick info check for the use of site_url(). I've come across a few themes that were using it when they should've been using home_url().

Info check should read something like:

Theme is using site_url(). site_url() references the URL where the WordPress files are located. Use home_url() if the intention is to point to the site address (home page).

@AlbertGuadan
Copy link

AlbertGuadan commented Mar 23, 2016

site url , home url

@carolinan carolinan added the sniffer Is already in the standards or theme sniffer label Mar 26, 2020
@carolinan carolinan removed the sniffer Is already in the standards or theme sniffer label Apr 2, 2020
@carolinan carolinan added the has PR Has pull request label Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has PR Has pull request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants