From 2ae870407bdbe9875fb81ae8b766c73bb06d609f Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sat, 24 Apr 2004 23:31:34 +0000 Subject: [PATCH] Fixed a problem with using bloginfo(). git-svn-id: http://svn.automattic.com/wordpress/trunk@1157 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-general.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index c458be622..a6abc1214 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -32,7 +32,8 @@ function get_bloginfo($show='') { switch($show) { case 'url': - $output = get_settings('siteurl') .'/'. get_settings('blogfilename'); + case 'siteurl': + $output = get_settings('siteurl'); break; case 'description': $output = get_settings('blogdescription');