[wp-trac] [WordPress Trac] #24078: Remove 'admin' as default username in install

WordPress Trac noreply at wordpress.org
Sat Aug 24 13:56:31 UTC 2013


#24078: Remove 'admin' as default username in install
------------------------------+-----------------------
 Reporter:  chrisrudzki       |       Owner:  ryan
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  3.7
Component:  Upgrade/Install   |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:38 DrewAPicture]:
 > Shouldn't we also remove 'admin' in the second ternary, allowing the
 error to get tossed when `$user_name` is empty? [attachment:24078.diff]

 That fallback actually appears to be unreachable, since
 `$_POST['user_name']` is always set. However, removing it for consistency
 makes sense.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24078#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list