[wp-trac] [WordPress Trac] #39047: Installer tries to create nonce before options table exists
WordPress Trac
noreply at wordpress.org
Thu Jan 5 04:10:05 UTC 2017
#39047: Installer tries to create nonce before options table exists
------------------------------+-----------------------
Reporter: nullvariable | Owner: rmccue
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7.1
Component: Upgrade/Install | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: rest-api
------------------------------+-----------------------
Changes (by rmccue):
* owner: => rmccue
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"39684"]:
{{{
#!CommitTicketReference repository="" revision="39684"
Upgrade/Install: Avoid creating nonce during installation.
When installing and using database-saved salts, wp_create_nonce() causes
database errors as wp_salt() attempts to insert into the not-yet-created
options table. Since authentication isn't available during installation,
we can safely skip creating a nonce.
Props nullvariable, pento, dd32.
Fixes #39047.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39047#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list