X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/f9001779751f83dc8a10e478bfecb4d8dd5f964c..8f374b7233bc2815ccc387e448d208c5434eb961:/wp-signup.php
diff --git a/wp-signup.php b/wp-signup.php
index c2ab566b..2cd93c82 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' );
@@ -13,14 +13,10 @@ if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) &&
}
function do_signup_header() {
- do_action("signup_header");
+ do_action( '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();
@@ -99,7 +95,7 @@ function show_blog_form($blogname = '', $blog_title = '', $errors = '') {
-
+