From da5a212bff60669e141a68bdc9ab41c5fb924962 Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@13474 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 4edfc44676..80013c0e53 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');