Index: wp-includes/general-template.php
===================================================================
--- wp-includes/general-template.php (revision 17614)
+++ wp-includes/general-template.php (working copy)
@@ -404,10 +404,10 @@
case 'siteurl' : // DEPRECATED
_deprecated_argument( __FUNCTION__, '2.2', sprintf( __('The %s option is deprecated for the family of bloginfo() functions.' ), $show ) . ' ' . sprintf( __( 'Use the %s option instead.' ), 'url' ) );
case 'url' :
- $output = home_url();
+ $output = home_url( '', ( force_ssl_admin() || force_ssl_login() ) && !is_ssl() ? 'http' : null );
break;
case 'wpurl' :
- $output = site_url();
+ $output = site_url( '', ( force_ssl_admin() || force_ssl_login() ) && !is_ssl() ? 'http' : null );
break;
case 'description':
$output = get_option('blogdescription');
Index: wp-login.php
===================================================================
--- wp-login.php (revision 17614)
+++ wp-login.php (working copy)
@@ -86,7 +86,7 @@