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
This commit is contained in:
Ryan Boren 2006-04-03 03:04:39 +00:00
parent d833ecad5f
commit 27d9f0f97f
1 changed files with 3 additions and 1 deletions

View File

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