X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/38ca813a0e312e2768e5b9519f0415cd0aa84781..baca9ce86a38dc54c4574890ee2d352fd81f78b2:/wp-signup.php diff --git a/wp-signup.php b/wp-signup.php index cce20833..7d35d865 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -3,7 +3,7 @@ /** Sets up the WordPress Environment. */ require( dirname(__FILE__) . '/wp-load.php' ); -add_action( 'wp_head', 'signuppageheaders' ) ; +add_action( 'wp_head', 'wp_no_robots' ); require( './wp-blog-header.php' ); @@ -17,17 +17,13 @@ function do_signup_header() { } add_action( 'wp_head', 'do_signup_header' ); -function signuppageheaders() { - echo "\n"; -} - if ( !is_multisite() ) { wp_redirect( site_url('wp-login.php?action=register') ); die(); } if ( !is_main_site() ) { - wp_redirect( network_home_url( 'wp-signup.php' ) ); + wp_redirect( network_site_url( 'wp-signup.php' ) ); die(); } @@ -99,7 +95,7 @@ function show_blog_form($blogname = '', $blog_title = '', $errors = '') {
-
+
you must activate it.' ) ?>
-%1$s and click the link given.' ), $user_email) ?>
+%s and click the link given.' ), $user_email ); ?>
log in, and then you can create a new site.' ), $login_url ); } else { $stage = isset( $_POST['stage'] ) ? $_POST['stage'] : 'default';