WordPress.org

Make WordPress Core

Ticket #24078: 24078.patch

File 24078.patch, 751 bytes (added by chrisrudzki, 7 years ago)
  • wp-admin/install.php

     
    8585                $blog_public = isset( $_POST['blog_public'] );
    8686
    8787        $weblog_title = isset( $_POST['weblog_title'] ) ? trim( wp_unslash( $_POST['weblog_title'] ) ) : '';
    88         $user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : 'admin';
     88        $user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : '';
    8989        $admin_password = isset($_POST['admin_password']) ? trim( wp_unslash( $_POST['admin_password'] ) ) : '';
    9090        $admin_email  = isset( $_POST['admin_email']  ) ? trim( wp_unslash( $_POST['admin_email'] ) ) : '';
    9191