WordPress.org

Make WordPress Core

Changeset 19877


Ignore:
Timestamp:
02/08/2012 05:14:52 PM (6 years ago)
Author:
nacin
Message:

Use correct variable. see #19607.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/canonical.php

    r19875 r19877  
    9393        }
    9494
    95         if ( ! $redirect_url && get_option( 'home' ) != get_option( 'url' ) ) {
     95        if ( ! $redirect_url && get_option( 'home' ) != get_option( 'siteurl' ) ) {
    9696            if ( $original['path'] == home_url( 'wp-admin/', 'relative' ) )
    9797                $redirect_url = admin_url();
Note: See TracChangeset for help on using the changeset viewer.