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-options.php

    r12632 r12674  
    5656                    <label><input name="registration" type="radio" id="registration4" value='blog' <?php echo get_site_option('registration') == 'blog' ? 'checked="checked"' : ''; ?> /> <?php _e('Only logged in users can create new blogs.'); ?></label><br />
    5757                    <p><?php _e('Disable or enable registration and who or what can be registered. (Default=all)'); ?></p>
    58                     <?php if( constant( 'VHOST' ) == 'yes' ) {
     58                    <?php if( is_subdomain_install() ) {
    5959                        echo "<p>" . __('If registration is disabled, please set "NOBLOGREDIRECT" in wp-config.php to a url you will redirect visitors to if they visit a non existant blog.') . "</p>";
    6060                    } ?>
Note: See TracChangeset for help on using the changeset viewer.