Make WordPress Core


Ignore:
Timestamp:
03/28/2014 06:59:52 PM (11 years ago)
Author:
nacin
Message:

Install: Allow an installation to go through with a custom user table with the username 'admin'.

This could be better, but this solves the regression caused by [25115].

fixes #27093, see #24078.

File:
1 edited

Legend:

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

    r27736 r27822  
    103103            if ( $user_table ) {
    104104                _e('User(s) already exists.');
     105                echo '<input name="user_name" type="hidden" value="admin" />';
    105106            } else {
    106107                ?><input name="user_name" type="text" id="user_login" size="25" value="<?php echo esc_attr( sanitize_user( $user_name, true ) ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.