Make WordPress Core

Changeset 25112


Ignore:
Timestamp:
08/23/2013 10:59:09 PM (11 years ago)
Author:
nacin
Message:

Have wp-signup.php match the proper default for the 'registration' network option.

props wpmuguru.
fixes #18186.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r25001 r25112  
    512512
    513513// Main
    514 $active_signup = get_site_option( 'registration' );
    515 if ( !$active_signup )
    516     $active_signup = 'all';
    517 
     514$active_signup = get_site_option( 'registration', 'none' );
    518515$active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user"
    519516
Note: See TracChangeset for help on using the changeset viewer.