Skip to content

Commit

Permalink
Remove 'admin' as a fallback for username in install. props tivnet, D…
Browse files Browse the repository at this point in the history
…rewAPicture. fixes #24078.

Built from https://develop.svn.wordpress.org/trunk@25115


git-svn-id: http://core.svn.wordpress.org/trunk@25096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Aug 24, 2013
1 parent db2a73a commit bf5b75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-admin/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function display_setup_form( $error = null ) {
display_header();
// Fill in the data we gathered
$weblog_title = isset( $_POST['weblog_title'] ) ? trim( wp_unslash( $_POST['weblog_title'] ) ) : '';
$user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : 'admin';
$user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : '';
$admin_password = isset($_POST['admin_password']) ? wp_unslash( $_POST['admin_password'] ) : '';
$admin_password_check = isset($_POST['admin_password2']) ? wp_unslash( $_POST['admin_password2'] ) : '';
$admin_email = isset( $_POST['admin_email'] ) ?trim( wp_unslash( $_POST['admin_email'] ) ) : '';
Expand Down

0 comments on commit bf5b75c

Please sign in to comment.