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

Already on GitHub? Sign in to your account

Escape home_url() in #site-title link #113

Merged
merged 1 commit into from Nov 28, 2012

Conversation

Projects
None yet
2 participants
Contributor

sixhours commented Nov 21, 2012

We escape home_url( '/' ) when displaying custom-header.php and searchform.php; it should also be escaped here.

@sixhours sixhours Escape home_url() in #site-title link
We escape the URL when displaying custom-header.php and searchform.php, which leads me to believe it should also be escaped here.
c2c282e
Contributor

mfields commented Nov 28, 2012

I think this makes a lot of sense because the output of home_url() is filterable by core.

@mfields mfields added a commit that referenced this pull request Nov 28, 2012

@mfields mfields Merge pull request #113 from sixhours/patch-3
Escape home_url() in #site-title link. props @sixhours
b6b88b4

@mfields mfields merged commit b6b88b4 into Automattic:master Nov 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment