Make WordPress Core

Changeset 13649


Ignore:
Timestamp:
03/10/2010 07:00:43 PM (14 years ago)
Author:
wpmuguru
Message:

network options UI cleanup, see #12465

File:
1 edited

Legend:

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

    r13639 r13649  
    4949                <?php
    5050                if ( !get_site_option('registration') )
    51                     update_site_option( 'registration', 'all' );
     51                    update_site_option( 'registration', 'none' );
    5252                ?>
    5353                <td>
    54                     <label><input name="registration" type="radio" id="registration1" value='none' <?php checked( get_site_option('registration'), 'none') ?> /> <?php _e('Disabled'); ?></label><br />
    55                     <label><input name="registration" type="radio" id="registration2" value='all' <?php  checked( get_site_option('registration'), 'all') ?> /> <?php _e('Enabled. Sites and user accounts can be created.'); ?></label><br />
    56                     <label><input name="registration" type="radio" id="registration3" value='user' <?php checked( get_site_option('registration'), 'user') ?> /> <?php _e('Only user account can be created.'); ?></label><br />
    57                     <label><input name="registration" type="radio" id="registration4" value='blog' <?php checked( get_site_option('registration'), 'blog') ?> /> <?php _e('Only logged in users can create new sites.'); ?></label><br />
    58                     <p><?php _e('Disable or enable registration and who or what can be registered. (Default=Disabled)'); ?></p>
     54                    <label><input name="registration" type="radio" id="registration1" value='none' <?php checked( get_site_option('registration'), 'none') ?> /> <?php _e('Registration is disabled.'); ?></label><br />
     55                    <label><input name="registration" type="radio" id="registration2" value='user' <?php checked( get_site_option('registration'), 'user') ?> /> <?php _e('User accounts may be registered.'); ?></label><br />
     56                    <label><input name="registration" type="radio" id="registration3" value='blog' <?php checked( get_site_option('registration'), 'blog') ?> /> <?php _e('Logged in users may register new sites.'); ?></label><br />
     57                    <label><input name="registration" type="radio" id="registration4" value='all' <?php  checked( get_site_option('registration'), 'all') ?> /> <?php _e('Both sites and user accounts can be registered.'); ?></label><br />
     58                    <p><?php _e('Disable or enable registration and who or what can be registered. (Default = disabled)'); ?></p>
    5959                    <?php if ( is_subdomain_install() ) {
    6060                        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-existent site.') . '</p>';
Note: See TracChangeset for help on using the changeset viewer.