Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-signup.php

    r17989 r16755  
    1414
    1515function do_signup_header() {
    16     do_action( 'signup_header' );
     16    do_action("signup_header");
    1717}
    1818add_action( 'wp_head', 'do_signup_header' );
     
    189189    <form id="setupform" method="post" action="wp-signup.php">
    190190        <input type="hidden" name="stage" value="gimmeanotherblog" />
    191         <?php do_action( 'signup_hidden_fields' ); ?>
     191        <?php do_action( "signup_hidden_fields" ); ?>
    192192        <?php show_blog_form($blogname, $blog_title, $errors); ?>
    193193        <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ) ?>" /></p>
     
    253253    <form id="setupform" method="post" action="wp-signup.php">
    254254        <input type="hidden" name="stage" value="validate-user-signup" />
    255         <?php do_action( 'signup_hidden_fields' ); ?>
     255        <?php do_action( "signup_hidden_fields" ); ?>
    256256        <?php show_user_form($user_name, $user_email, $errors); ?>
    257257
     
    289289    }
    290290
    291     wpmu_signup_user($user_name, $user_email, apply_filters( 'add_signup_meta', array() ) );
     291    wpmu_signup_user($user_name, $user_email, apply_filters( "add_signup_meta", array() ) );
    292292
    293293    confirm_user_signup($user_name, $user_email);
     
    324324        <input type="hidden" name="user_name" value="<?php echo esc_attr($user_name) ?>" />
    325325        <input type="hidden" name="user_email" value="<?php echo esc_attr($user_email) ?>" />
    326         <?php do_action( 'signup_hidden_fields' ); ?>
     326        <?php do_action( "signup_hidden_fields" ); ?>
    327327        <?php show_blog_form($blogname, $blog_title, $errors); ?>
    328328        <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Signup') ?>" /></p>
     
    351351    $public = (int) $_POST['blog_public'];
    352352    $meta = array ('lang_id' => 1, 'public' => $public);
    353     $meta = apply_filters( 'add_signup_meta', $meta );
     353    $meta = apply_filters( "add_signup_meta", $meta );
    354354
    355355    wpmu_signup_blog($domain, $path, $blog_title, $user_name, $user_email, $meta);
     
    397397
    398398$current_user = wp_get_current_user();
    399 if ( $active_signup == 'none' ) {
     399if ( $active_signup == "none" ) {
    400400    _e( 'Registration has been disabled.' );
    401401} elseif ( $active_signup == 'blog' && !is_user_logged_in() ) {
     
    427427        default :
    428428            $user_email = isset( $_POST[ 'user_email' ] ) ? $_POST[ 'user_email' ] : '';
    429             do_action( 'preprocess_signup_form' ); // populate the form from invites, elsewhere?
     429            do_action( "preprocess_signup_form" ); // populate the form from invites, elsewhere?
    430430            if ( is_user_logged_in() && ( $active_signup == 'all' || $active_signup == 'blog' ) )
    431431                signup_another_blog($newblogname);
Note: See TracChangeset for help on using the changeset viewer.