Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-signup.php

    r17989 r19304  
    44require( dirname(__FILE__) . '/wp-load.php' );
    55
    6 add_action( 'wp_head', 'signuppageheaders' ) ;
     6add_action( 'wp_head', 'wp_no_robots' );
    77
    88require( './wp-blog-header.php' );
     
    1717}
    1818add_action( 'wp_head', 'do_signup_header' );
    19 
    20 function signuppageheaders() {
    21     echo "<meta name='robots' content='noindex,nofollow' />\n";
    22 }
    2319
    2420if ( !is_multisite() ) {
     
    214210    $meta = apply_filters( 'add_signup_meta', $meta );
    215211
    216     wpmu_create_blog( $domain, $path, $blog_title, $current_user->id, $meta, $wpdb->siteid );
     212    wpmu_create_blog( $domain, $path, $blog_title, $current_user->ID, $meta, $wpdb->siteid );
    217213    confirm_another_blog_signup($domain, $path, $blog_title, $current_user->user_login, $current_user->user_email, $meta);
    218214    return true;
Note: See TracChangeset for help on using the changeset viewer.