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:
parent
d833ecad5f
commit
27d9f0f97f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue