Don't run bloginfo filters on URIs. fixes #1545 #1410 #1729

git-svn-id: http://svn.automattic.com/wordpress/trunk@2935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-10-06 00:04:59 +00:00
parent e56c5d190d
commit ae5fbef066

View File

@ -58,9 +58,13 @@ function wp_meta() {
}
function bloginfo($show='') {
$info = get_bloginfo($show);
$info = get_bloginfo($show);
if ( ! strstr($info, 'url') ) {
$info = apply_filters('bloginfo', $info, $show);
echo convert_chars($info);
$info = convert_chars($info);
}
echo $info;
}
function get_bloginfo($show='') {