Make WordPress Core

Changeset 24998


Ignore:
Timestamp:
08/06/2013 07:04:32 PM (11 years 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.