Make WordPress Core

Changeset 12674 for trunk/wp-signup.php


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

Add is_subdomain_install() to ms code - Fixes #11796

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-signup.php

    r12672 r12674  
    5757        global $current_site;
    5858        // Blog name
    59         if( constant( "VHOST" ) == 'no' )
     59        if( !is_subdomain_install() )
    6060                echo '<label for="blogname">' . __('Blog Name:') . '</label>';
    6161        else
    … …  
    6666        <?php }
    6767
    68         if( constant( "VHOST" ) == 'no' ) {
     68        if( !is_subdomain_install() ) {
    6969                echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span><input name="blogname" type="text" id="blogname" value="'. esc_attr($blogname) .'" maxlength="50" /><br />';
    7070        } else {
    … …  
    7373        if ( !is_user_logged_in() ) {
    7474                print '(<strong>' . __( 'Your address will be ' );
    75                 if( constant( "VHOST" ) == 'no' ) {
     75                if( !is_subdomain_install() ) {
    7676                        print $current_site->domain . $current_site->path . __( 'blogname' );
    7777                } else {
    … …  
    421421                        }
    422422                        if ($newblogname) {
    423                                 if( constant( "VHOST" ) == 'no' )
     423                                if( !is_subdomain_install() )
    424424                                        $newblog = 'http://' . $current_site->domain . $current_site->path . $newblogname . '/';
    425425                                else
Note: See TracChangeset for help on using the changeset viewer.