Skip to:
Content

BuddyPress.org

Ticket #2289: signup.diff

File signup.diff, 591 bytes (added by rvenable, 14 years ago)
  • bp-core/bp-core-signup.php

     
    554554                return false;
    555555
    556556        if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) )
    557                 wp_redirect( bp_get_root_domain() . '/' . BP_REGISTER_SLUG . '/' );
     557                bp_core_redirect( bp_get_root_domain() . '/' . BP_REGISTER_SLUG . '/' );
    558558}
    559559if ( bp_core_is_multisite() )
    560560        add_action( 'wp', 'bp_core_wpsignup_redirect' );