Changeset 43571 for trunk/src/wp-admin/install.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r42343 r43571 9 9 // Sanity check. 10 10 if ( false ) { 11 ?>11 ?> 12 12 <!DOCTYPE html> 13 13 <html xmlns="http://www.w3.org/1999/xhtml"> … … 22 22 </body> 23 23 </html> 24 <?php24 <?php 25 25 } 26 26 … … 64 64 $body_classes = ' ' . $body_classes; 65 65 } 66 ?>66 ?> 67 67 <!DOCTYPE html> 68 68 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> … … 80 80 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p> 81 81 82 <?php82 <?php 83 83 } // end display_header() 84 84 … … 109 109 110 110 if ( ! is_null( $error ) ) { 111 ?>111 ?> 112 112 <h1><?php _ex( 'Welcome', 'Howdy' ); ?></h1> 113 113 <p class="message"><?php echo $error; ?></p> … … 130 130 <input name="user_name" type="text" id="user_login" size="25" value="<?php echo esc_attr( sanitize_user( $user_name, true ) ); ?>" /> 131 131 <p><?php _e( 'Usernames can have only alphanumeric characters, spaces, underscores, hyphens, periods, and the @ symbol.' ); ?></p> 132 <?php132 <?php 133 133 } 134 134 ?> … … 190 190 <?php 191 191 if ( has_action( 'blog_privacy_selector' ) ) { 192 ?>192 ?> 193 193 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( 1, $blog_public ); ?> /> 194 194 <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br/> … … 200 200 do_action( 'blog_privacy_selector' ); 201 201 } else { 202 ?>202 ?> 203 203 <label for="blog_public"><input name="blog_public" type="checkbox" id="blog_public" value="0" <?php checked( 0, $blog_public ); ?> /> 204 204 <?php _e( 'Discourage search engines from indexing this site' ); ?></label> … … 212 212 <input type="hidden" name="language" value="<?php echo isset( $_REQUEST['language'] ) ? esc_attr( $_REQUEST['language'] ) : ''; ?>" /> 213 213 </form> 214 <?php214 <?php 215 215 } // end display_setup_form() 216 216 … … 318 318 319 319 display_header(); 320 ?>320 ?> 321 321 <h1><?php _ex( 'Welcome', 'Howdy' ); ?></h1> 322 322 <p><?php _e( 'Welcome to the famous five-minute WordPress installation process! Just fill in the information below and you’ll be on your way to using the most extendable and powerful personal publishing platform in the world.' ); ?></p> … … 325 325 <p><?php _e( 'Please provide the following information. Don’t worry, you can always change these settings later.' ); ?></p> 326 326 327 <?php327 <?php 328 328 display_setup_form(); 329 329 break; … … 377 377 $wpdb->show_errors(); 378 378 $result = wp_install( $weblog_title, $user_name, $admin_email, $public, '', wp_slash( $admin_password ), $loaded_language ); 379 ?>379 ?> 380 380 381 381 <h1><?php _e( 'Success!' ); ?></h1> … … 391 391 <th><?php _e( 'Password' ); ?></th> 392 392 <td> 393 <?php394 if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) :395 ?>393 <?php 394 if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) : 395 ?> 396 396 <code><?php echo esc_html( $result['password'] ); ?></code><br /> 397 397 <?php endif ?> … … 403 403 <p class="step"><a href="<?php echo esc_url( wp_login_url() ); ?>" class="button button-large"><?php _e( 'Log In' ); ?></a></p> 404 404 405 <?php405 <?php 406 406 } 407 407 break;
Note: See TracChangeset
for help on using the changeset viewer.