Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116

git-svn-id: https://develop.svn.wordpress.org/trunk@5526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-05-23 14:58:32 +00:00
parent 4c2f2563a9
commit 7a394a909e

View File

@ -63,8 +63,8 @@ function bloginfo($show='') {
$info = get_bloginfo($show);
// Don't filter URL's.
if (strpos($show, 'url') === false ||
strpos($show, 'directory') === false ||
if (strpos($show, 'url') === false &&
strpos($show, 'directory') === false &&
strpos($show, 'home') === false) {
$info = apply_filters('bloginfo', $info, $show);
$info = convert_chars($info);