X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/80b7979fccf09a75af3f4c111fa27060ae6dbf85..11be15bd505d66a91e2c80062190b13e315a04a9:/wp-signup.php diff --git a/wp-signup.php b/wp-signup.php index 2cd93c82..9dd2c3da 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -12,6 +12,11 @@ if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && die(); } +/** + * Prints signup_header via wp_head + * + * @since MU + */ function do_signup_header() { do_action( 'signup_header' ); } @@ -23,13 +28,18 @@ if ( !is_multisite() ) { } if ( !is_main_site() ) { - wp_redirect( network_home_url( 'wp-signup.php' ) ); + wp_redirect( network_site_url( 'wp-signup.php' ) ); die(); } // Fix for page title $wp_query->is_404 = false; +/** + * Prints styles for front-end Multisite signup pages + * + * @since MU + */ function wpmu_signup_stylesheet() { ?>