mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 18:16:08 +00:00
Don't texturize home. Props Mark Jaquith and David House. fixes #2381
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f9aeed2164
commit
d1e844c514
@ -62,7 +62,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…
x
Reference in New Issue
Block a user