Make WordPress Core

Ticket #18186: 18186.diff

File 18186.diff, 514 bytes (added by wpmuguru, 12 years ago)
  • wp-signup.php

     
    369369}
    370370
    371371// Main
    372 $active_signup = get_site_option( 'registration' );
    373 if ( !$active_signup )
    374         $active_signup = 'all';
    375 
     372$active_signup = get_site_option( 'registration', 'none' );
    376373$active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user"
    377374
    378375// Make the signup type translatable.