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
1 changed files with 6 additions and 2 deletions

View File

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