Changeset 47218 for trunk/src/wp-admin/install.php
- Timestamp:
- 02/09/2020 04:51:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r47198 r47218 370 370 display_setup_form( __( 'Please provide a valid username.' ) ); 371 371 $error = true; 372 } elseif ( $user_name != sanitize_user( $user_name, true )) {372 } elseif ( sanitize_user( $user_name, true ) != $user_name ) { 373 373 display_setup_form( __( 'The username you provided has invalid characters.' ) ); 374 374 $error = true; … … 387 387 } 388 388 389 if ( $error === false) {389 if ( false === $error ) { 390 390 $wpdb->show_errors(); 391 391 $result = wp_install( $weblog_title, $user_name, $admin_email, $public, '', wp_slash( $admin_password ), $loaded_language );
Note: See TracChangeset
for help on using the changeset viewer.