From bdd5e1755af855694c015927abdad4d254d58a9b Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 27 Feb 2010 23:22:56 +0000 Subject: [PATCH] get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008 git-svn-id: http://svn.automattic.com/wordpress/trunk@13474 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 4edfc4467..80013c0e5 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -358,8 +358,8 @@ function wp_meta() { * * @param string $show What to display. */ -function bloginfo($show='') { - echo get_bloginfo($show, 'display'); +function bloginfo( $show='' ) { + echo get_bloginfo( $show, 'display' ); } /** @@ -397,7 +397,7 @@ function get_bloginfo( $show = '', $filter = 'raw' ) { $output = home_url(); break; case 'wpurl' : - $output = get_option('siteurl'); + $output = site_url(); break; case 'description': $output = get_option('blogdescription');