Make WordPress Core

Ticket #18186: 18186.2.diff

File 18186.2.diff, 526 bytes (added by jeremyfelt, 12 years ago)
  • src/wp-signup.php

     
    511511}
    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
    520517// Make the signup type translatable.