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
This commit is contained in:
rob1n 2007-05-23 14:58:32 +00:00
parent 42df47a478
commit 4d9a6e1a98
1 changed files with 2 additions and 2 deletions

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);