Make WordPress Core

Ticket #17630: 17630.diff

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

     
    3232        die();
    3333}
    3434
     35$signup_location = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
     36if ( $signup_location !== network_site_url( 'wp-signup.php' ) ) {
     37        wp_redirect( $signup_location );
     38        die();
     39}
     40
    3541// Fix for page title
    3642$wp_query->is_404 = false;
    3743