WordPress.org

Make WordPress Core

Changeset 24998


Ignore:
Timestamp:
08/06/13 19:04:32 (21 months ago)
Author:
ryan
Message:

Remove 'admin' as default username in install.

Props chrisrudzki
fixes #24078

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r24532 r24998  
    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'] ) ) : ''; 
Note: See TracChangeset for help on using the changeset viewer.