[wp-trac] [WordPress Trac] #27093: Cannot install WordPress when a custom user table is defined
WordPress Trac
noreply at wordpress.org
Wed Feb 12 07:00:21 UTC 2014
#27093: Cannot install WordPress when a custom user table is defined
-----------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.8.2
Component: Upgrade/Install | Version: 3.7
Severity: critical | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+--------------------------
Comment (by SergeyBiryukov):
Before [25115], when installing with a custom user table, we were still
forcing the 'admin' username (see [13134]). However, the original
intention, per [comment:ticket:10396:5], was to only create the user if
there are no other administrators in the database.
I guess we should either allow to select a username even with a custom
user table, or detect the current administrator's username and use that.
[attachment:27093.patch] is an attempt at always allowing to select a
username. It throws errors if you enter an email of an existing user, but
with a different username, so it needs more work if we want to go in that
direction.
[attachment:27093.2.patch] implements autodetection of the current
administrator's username instead of a hard-coded fallback.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27093#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list