From 27d9f0f97ffdb0a5377b207e0efe610882978962 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 3 Apr 2006 03:04:39 +0000 Subject: [PATCH] Don't texturize home. Props Mark Jaquith and David House. fixes #2381 git-svn-id: https://develop.svn.wordpress.org/trunk@3681 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-general.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index c88627fcad..5c112f70bd 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -58,7 +58,9 @@ function wp_meta() { function bloginfo($show='') { $info = get_bloginfo($show); - if ( ! (strstr($info, 'url') || strstr($info, 'directory')) ) { + if (!strstr($show, 'url') && //don't filter URLs + !strstr($show, 'directory') && + !strstr($show, 'home')) { $info = apply_filters('bloginfo', $info, $show); $info = convert_chars($info); }