Make WordPress Core

Ticket #19451: 19451.2.diff

File 19451.2.diff, 1.7 KB (added by jeremyfelt, 11 years ago)
  • src/wp-signup.php

     
    239239        <p><?php _e( 'If you&#8217;re not going to use a great site domain, leave it for a new user. Now have at it!' ) ?></p>
    240240        <form id="setupform" method="post" action="wp-signup.php">
    241241                <input type="hidden" name="stage" value="gimmeanotherblog" />
    242                 <?php do_action( 'signup_hidden_fields' ); ?>
     242                <?php do_action( 'signup_hidden_fields', 'create-site' ); ?>
    243243                <?php show_blog_form($blogname, $blog_title, $errors); ?>
    244244                <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ) ?>" /></p>
    245245        </form>
     
    330330        <h2><?php printf( __( 'Get your own %s account in seconds' ), $current_site->site_name ) ?></h2>
    331331        <form id="setupform" method="post" action="wp-signup.php">
    332332                <input type="hidden" name="stage" value="validate-user-signup" />
    333                 <?php do_action( 'signup_hidden_fields' ); ?>
     333                <?php do_action( 'signup_hidden_fields', 'validate-user' ); ?>
    334334                <?php show_user_form($user_name, $user_email, $errors); ?>
    335335
    336336                <p>
     
    432432                <input type="hidden" name="stage" value="validate-blog-signup" />
    433433                <input type="hidden" name="user_name" value="<?php echo esc_attr($user_name) ?>" />
    434434                <input type="hidden" name="user_email" value="<?php echo esc_attr($user_email) ?>" />
    435                 <?php do_action( 'signup_hidden_fields' ); ?>
     435                <?php do_action( 'signup_hidden_fields', 'validate-site' ); ?>
    436436                <?php show_blog_form($blogname, $blog_title, $errors); ?>
    437437                <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Signup') ?>" /></p>
    438438        </form>