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
This commit is contained in:
parent
30930704b6
commit
ffda0db982
|
@ -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