WordPress.org

Make WordPress Core

Changeset 15933


Ignore:
Timestamp:
10/23/10 17:51:18 (3 years ago)
Author:
nacin
Message:

Use a consistent variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r15932 r15933  
    19541954 
    19551955    if ( empty( $blog_id ) || !is_multisite() ) 
    1956         $home = get_option( 'home' ); 
     1956        $url = get_option( 'home' ); 
    19571957    else 
    1958         $home = get_blog_option( $blog_id, 'home' ); 
     1958        $url = get_blog_option( $blog_id, 'home' ); 
    19591959 
    19601960    if ( 'http' != $scheme ) 
    1961         $url = str_replace( 'http://', "$scheme://", $home ); 
     1961        $url = str_replace( 'http://', "$scheme://", $url ); 
    19621962 
    19631963    if ( !empty( $path ) && is_string( $path ) && strpos( $path, '..' ) === false ) 
Note: See TracChangeset for help on using the changeset viewer.