Make WordPress Core


Ignore:
Timestamp:
01/16/2011 09:50:45 PM (14 years ago)
Author:
nacin
Message:

Set base if we return to network step 2. props scribu, fixes #15620.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network.php

    r17014 r17323  
    307307    global $base, $wpdb;
    308308    $hostname = get_clean_basedomain();
     309
     310    if ( ! isset( $base ) )
     311        $base = trailingslashit( stripslashes( dirname( dirname( $_SERVER['SCRIPT_NAME'] ) ) ) );
    309312
    310313    // Wildcard DNS message.
Note: See TracChangeset for help on using the changeset viewer.