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
This commit is contained in:
parent
fcf6942d33
commit
bdd5e1755a
|
@ -358,8 +358,8 @@ function wp_meta() {
|
||||||
*
|
*
|
||||||
* @param string $show What to display.
|
* @param string $show What to display.
|
||||||
*/
|
*/
|
||||||
function bloginfo($show='') {
|
function bloginfo( $show='' ) {
|
||||||
echo get_bloginfo($show, 'display');
|
echo get_bloginfo( $show, 'display' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -397,7 +397,7 @@ function get_bloginfo( $show = '', $filter = 'raw' ) {
|
||||||
$output = home_url();
|
$output = home_url();
|
||||||
break;
|
break;
|
||||||
case 'wpurl' :
|
case 'wpurl' :
|
||||||
$output = get_option('siteurl');
|
$output = site_url();
|
||||||
break;
|
break;
|
||||||
case 'description':
|
case 'description':
|
||||||
$output = get_option('blogdescription');
|
$output = get_option('blogdescription');
|
||||||
|
|
Loading…
Reference in New Issue