Ticket #26156: install.email.diff
File install.email.diff, 1.0 KB (added by , 11 years ago) |
---|
-
wp-admin/install.php
128 128 </tr> 129 129 <?php endif; ?> 130 130 <tr> 131 <th scope="row"><label for="admin_email"><?php _e( 'Your E -mail' ); ?></label></th>131 <th scope="row"><label for="admin_email"><?php _e( 'Your Email' ); ?></label></th> 132 132 <td><input name="admin_email" type="text" id="admin_email" size="25" value="<?php echo esc_attr( $admin_email ); ?>" /> 133 133 <p><?php _e( 'Double-check your email address before continuing.' ); ?></p></td> 134 134 </tr> … … 196 196 $admin_password_check = isset($_POST['admin_password2']) ? wp_unslash( $_POST['admin_password2'] ) : ''; 197 197 $admin_email = isset( $_POST['admin_email'] ) ?trim( wp_unslash( $_POST['admin_email'] ) ) : ''; 198 198 $public = isset( $_POST['blog_public'] ) ? (int) $_POST['blog_public'] : 0; 199 // check e -mail address199 // check email address 200 200 $error = false; 201 201 if ( empty( $user_name ) ) { 202 202 // TODO: poka-yoke