Changes in trunk/wp-signup.php [17989:16755]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-signup.php
r17989 r16755 14 14 15 15 function do_signup_header() { 16 do_action( 'signup_header');16 do_action("signup_header"); 17 17 } 18 18 add_action( 'wp_head', 'do_signup_header' ); … … 189 189 <form id="setupform" method="post" action="wp-signup.php"> 190 190 <input type="hidden" name="stage" value="gimmeanotherblog" /> 191 <?php do_action( 'signup_hidden_fields'); ?>191 <?php do_action( "signup_hidden_fields" ); ?> 192 192 <?php show_blog_form($blogname, $blog_title, $errors); ?> 193 193 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ) ?>" /></p> … … 253 253 <form id="setupform" method="post" action="wp-signup.php"> 254 254 <input type="hidden" name="stage" value="validate-user-signup" /> 255 <?php do_action( 'signup_hidden_fields'); ?>255 <?php do_action( "signup_hidden_fields" ); ?> 256 256 <?php show_user_form($user_name, $user_email, $errors); ?> 257 257 … … 289 289 } 290 290 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() ) ); 292 292 293 293 confirm_user_signup($user_name, $user_email); … … 324 324 <input type="hidden" name="user_name" value="<?php echo esc_attr($user_name) ?>" /> 325 325 <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" ); ?> 327 327 <?php show_blog_form($blogname, $blog_title, $errors); ?> 328 328 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Signup') ?>" /></p> … … 351 351 $public = (int) $_POST['blog_public']; 352 352 $meta = array ('lang_id' => 1, 'public' => $public); 353 $meta = apply_filters( 'add_signup_meta', $meta );353 $meta = apply_filters( "add_signup_meta", $meta ); 354 354 355 355 wpmu_signup_blog($domain, $path, $blog_title, $user_name, $user_email, $meta); … … 397 397 398 398 $current_user = wp_get_current_user(); 399 if ( $active_signup == 'none') {399 if ( $active_signup == "none" ) { 400 400 _e( 'Registration has been disabled.' ); 401 401 } elseif ( $active_signup == 'blog' && !is_user_logged_in() ) { … … 427 427 default : 428 428 $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? 430 430 if ( is_user_logged_in() && ( $active_signup == 'all' || $active_signup == 'blog' ) ) 431 431 signup_another_blog($newblogname);
Note: See TracChangeset
for help on using the changeset viewer.