Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: wp-signup.php is a blank page

@johnjamesjacoby

Keymaster

Don’t feel stupid, SVN isn’t for everyone (but it does make life easier in the long run)

Here’s the whole function…

/* Kill the wp-signup.php if custom registration signup templates are present */
function bp_core_wpsignup_redirect() {
if ( false === strpos( $_SERVER['SCRIPT_NAME'], 'wp-signup.php') )
return false;

if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) )
wp_redirect( bp_root_domain() . BP_REGISTER_SLUG );
}
add_action( 'signup_header', 'bp_core_wpsignup_redirect' );

Skip to toolbar