From c2f5e78a1eb06571ab6d6d4bb717d3105bd16302 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 23 Oct 2010 17:51:18 +0000 Subject: [PATCH] Use a consistent variable. git-svn-id: http://svn.automattic.com/wordpress/trunk@15933 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index d7738a276..a407fee3e 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -1953,12 +1953,12 @@ function get_home_url( $blog_id = null, $path = '', $scheme = null ) { $scheme = is_ssl() && !is_admin() ? 'https' : 'http'; if ( empty( $blog_id ) || !is_multisite() ) - $home = get_option( 'home' ); + $url = get_option( 'home' ); else - $home = get_blog_option( $blog_id, 'home' ); + $url = get_blog_option( $blog_id, 'home' ); if ( 'http' != $scheme ) - $url = str_replace( 'http://', "$scheme://", $home ); + $url = str_replace( 'http://', "$scheme://", $url ); if ( !empty( $path ) && is_string( $path ) && strpos( $path, '..' ) === false ) $url .= '/' . ltrim( $path, '/' );