From 1c2e933d90eabdec29bb47990c5b659a9f5d79d6 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 16 Nov 2005 23:54:39 +0000 Subject: [PATCH] Don't run stylesheet directory URI through filters. fixes #1890 git-svn-id: https://develop.svn.wordpress.org/trunk@3117 602fd350-edb4-49c9-b593-d223f7449a82 --- 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); }