Changeset 13649 for trunk/wp-admin/ms-options.php
- Timestamp:
- 03/10/2010 07:00:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-options.php
r13639 r13649 49 49 <?php 50 50 if ( !get_site_option('registration') ) 51 update_site_option( 'registration', ' all' );51 update_site_option( 'registration', 'none' ); 52 52 ?> 53 53 <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> 59 59 <?php if ( is_subdomain_install() ) { 60 60 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.