WordPress.org

Make WordPress Core

Ticket #19451: patch2.diff

File patch2.diff, 1.7 KB (added by Cimmo, 2 years ago)

New proposed patch with no variable

  • wp-signup.php

    old new  
    184184        <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> 
    185185        <form id="setupform" method="post" action="wp-signup.php"> 
    186186                <input type="hidden" name="stage" value="gimmeanotherblog" /> 
    187                 <?php do_action( 'signup_hidden_fields' ); ?> 
     187                <?php do_action( 'signup_hidden_fields', 'gimmeanotherblog' ); ?> 
    188188                <?php show_blog_form($blogname, $blog_title, $errors); ?> 
    189189                <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ) ?>" /></p> 
    190190        </form> 
     
    248248        <h2><?php printf( __( 'Get your own %s account in seconds' ), $current_site->site_name ) ?></h2> 
    249249        <form id="setupform" method="post" action="wp-signup.php"> 
    250250                <input type="hidden" name="stage" value="validate-user-signup" /> 
    251                 <?php do_action( 'signup_hidden_fields' ); ?> 
     251                <?php do_action( 'signup_hidden_fields', 'validate-user-signup' ); ?> 
    252252                <?php show_user_form($user_name, $user_email, $errors); ?> 
    253253 
    254254                <p> 
     
    319319                <input type="hidden" name="stage" value="validate-blog-signup" /> 
    320320                <input type="hidden" name="user_name" value="<?php echo esc_attr($user_name) ?>" /> 
    321321                <input type="hidden" name="user_email" value="<?php echo esc_attr($user_email) ?>" /> 
    322                 <?php do_action( 'signup_hidden_fields' ); ?> 
     322                <?php do_action( 'signup_hidden_fields', 'validate-blog-signup' ); ?> 
    323323                <?php show_blog_form($blogname, $blog_title, $errors); ?> 
    324324                <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Signup') ?>" /></p> 
    325325        </form>