From 4d9a6e1a98fe812a71fe875914d30d0f63de0c19 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: http://svn.automattic.com/wordpress/trunk@5526 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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);