From 09809cc9170a77f4950f69b553a43ca4d2afd7d2 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 16 Nov 2005 23:54:39 +0000 Subject: [PATCH] Don't run stylesheet directory URI through filters. fixes #1890 git-svn-id: http://svn.automattic.com/wordpress/trunk@3117 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index ab388f82c5..ff96256f67 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -62,7 +62,7 @@ function wp_meta() { function bloginfo($show='') { $info = get_bloginfo($show); - if ( ! strstr($info, 'url') ) { + if ( ! (strstr($info, 'url') || strstr($info, 'directory')) ) { $info = apply_filters('bloginfo', $info, $show); $info = convert_chars($info); }