From ffda0db982aee2accd9dc845b275c6afd426a7f5 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@3681 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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); }