WordPress.org

Make WordPress Core

Changeset 25115


Ignore:
Timestamp:
08/24/13 13:56:47 (8 months ago)
Author:
SergeyBiryukov
Message:

Remove 'admin' as a fallback for username in install. props tivnet, DrewAPicture. fixes #24078.

File:
1 edited

Legend:

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

    r24998 r25115  
    191191        // Fill in the data we gathered 
    192192        $weblog_title = isset( $_POST['weblog_title'] ) ? trim( wp_unslash( $_POST['weblog_title'] ) ) : ''; 
    193         $user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : 'admin'; 
     193        $user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : ''; 
    194194        $admin_password = isset($_POST['admin_password']) ? wp_unslash( $_POST['admin_password'] ) : ''; 
    195195        $admin_password_check = isset($_POST['admin_password2']) ? wp_unslash( $_POST['admin_password2'] ) : ''; 
Note: See TracChangeset for help on using the changeset viewer.