Make WordPress Core


Ignore:
Timestamp:
01/08/2010 09:25:01 PM (16 years ago)
Author:
wpmuguru
Message:

Add is_subdomain_install() to ms code - Fixes #11796

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-edit.php

    r12646 r12674  
    7171                if ( is_numeric( $dashboard_blog ) )
    7272                    wp_die( __( 'Dashboard blog_id must be a blog that already exists' ) );
    73                 if ( constant( 'VHOST' ) == 'yes' ) {
     73                if ( is_subdomain_install() ) {
    7474                    $domain = $dashboard_blog . '.' . $current_site->domain;
    7575                    $path = $current_site->path;
     
    146146            wp_die( __('Invalid email address') );
    147147
    148         if( constant( 'VHOST' ) == 'yes' ) {
     148        if( is_subdomain_install() ) {
    149149            $newdomain = $domain.".".$current_site->domain;
    150150            $path = $base;
Note: See TracChangeset for help on using the changeset viewer.