Remove 'admin' as default username in install.

Props chrisrudzki
fixes #24078


git-svn-id: http://core.svn.wordpress.org/trunk@24998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2013-08-06 19:04:32 +00:00
parent 14613e5595
commit 16a5c27941
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ function display_setup_form( $error = null ) {
$blog_public = isset( $_POST['blog_public'] );
$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']) ? trim( wp_unslash( $_POST['admin_password'] ) ) : '';
$admin_email = isset( $_POST['admin_email'] ) ? trim( wp_unslash( $_POST['admin_email'] ) ) : '';