[wp-trac] [WordPress Trac] #18186: Default registration assumptions in WP Multisite

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 20 18:43:06 UTC 2011


#18186: Default registration assumptions in WP Multisite
--------------------------+-----------------------------
 Reporter:  terryjsmith   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2.1
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 By default, when you create a new site, it does not set the "registration"
 site meta key.  However, in wp-signup.php by default it assumes it to
 "all" and allows users and sites to be created (line 381):

 {{{
 // Main
 $active_signup = get_site_option( 'registration' );
 if ( !$active_signup )
         $active_signup = 'all';
 }}}

 However, in the network settings page, by default it sets it to none (line
 75):

 {{{
 if ( !get_site_option( 'registration' ) )
         update_site_option( 'registration', 'none' );
 }}}

 With the new simple flow from a standalone to multi-site installation, new
 blogs should likely have it set to none by default or it should be an
 option during set up.

 Props to leenewton for discovery.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18186>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list