summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-signup.php b/wp-signup.php
index 3d75214..2e26f57 100644
--- a/wp-signup.php
+++ b/wp-signup.php
@@ -8,7 +8,7 @@ require( 'wp-blog-header.php' );
require_once( ABSPATH . WPINC . '/registration.php' );
if( is_array( get_site_option( 'illegal_names' )) && $_GET[ 'new' ] != '' && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) {
- header( "Location: http://{$current_site->domain}{$current_site->path}" );
+ wp_redirect( "http://{$current_site->domain}{$current_site->path}" );
die();
}
@@ -19,7 +19,7 @@ function signuppageheaders() {
}
if( $current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path ) {
- header( "Location: http://" . $current_site->domain . $current_site->path . "wp-signup.php" );
+ wp_redirect( "http://" . $current_site->domain . $current_site->path . "wp-signup.php" );
die();
}