Ticket #19451: 19451.4.diff
File 19451.4.diff, 2.0 KB (added by , 11 years ago) |
---|
-
src/wp-signup.php
239 239 <p><?php _e( 'If you’re not going to use a great site domain, leave it for a new user. Now have at it!' ) ?></p> 240 240 <form id="setupform" method="post" action="wp-signup.php"> 241 241 <input type="hidden" name="stage" value="gimmeanotherblog" /> 242 <?php do_action( 'signup_hidden_fields' ); ?> 242 <?php 243 /** 244 * Hidden signup form fields output for creating another site. 245 * 246 * @since MU 247 * 248 * @param string null Will be 'create-another-site', 'validate-user', or 'validate-site' 249 * depending on the step of the signup process. 250 */ 251 do_action( 'signup_hidden_fields', 'create-another-site' ); 252 ?> 243 253 <?php show_blog_form($blogname, $blog_title, $errors); ?> 244 254 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ) ?>" /></p> 245 255 </form> … … 330 340 <h2><?php printf( __( 'Get your own %s account in seconds' ), $current_site->site_name ) ?></h2> 331 341 <form id="setupform" method="post" action="wp-signup.php"> 332 342 <input type="hidden" name="stage" value="validate-user-signup" /> 333 <?php do_action( 'signup_hidden_fields' ); ?> 343 <?php 344 //duplicate hook 345 do_action( 'signup_hidden_fields', 'validate-user' ); 346 ?> 334 347 <?php show_user_form($user_name, $user_email, $errors); ?> 335 348 336 349 <p> … … 432 445 <input type="hidden" name="stage" value="validate-blog-signup" /> 433 446 <input type="hidden" name="user_name" value="<?php echo esc_attr($user_name) ?>" /> 434 447 <input type="hidden" name="user_email" value="<?php echo esc_attr($user_email) ?>" /> 435 <?php do_action( 'signup_hidden_fields' ); ?> 448 <?php 449 //duplicate hook 450 do_action( 'signup_hidden_fields', 'validate-site' ); 451 ?> 436 452 <?php show_blog_form($blogname, $blog_title, $errors); ?> 437 453 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Signup') ?>" /></p> 438 454 </form>