From 7a394a909e604109220900a1d6f299addd1e3db0 Mon Sep 17 00:00:00 2001 From: rob1n Date: Wed, 23 May 2007 14:58:32 +0000 Subject: [PATCH] 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 --- wp-includes/general-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 55a8fc4a5b..ae463c87c5 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -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);