[wp-trac] [WordPress Trac] #39047: Installer tries to create nonce before options table exists

WordPress Trac noreply at wordpress.org
Sun Dec 4 16:41:03 UTC 2016


#39047: Installer tries to create nonce before options table exists
-----------------------------+------------------------------
 Reporter:  nullvariable     |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by nullvariable):

 to be more specific on the error conditions, this only seems to occur if
 you leave the 'put your unique phrase here' string in your wp-config (or
 have duplicate keys/salts). pluggable.php's wp_salt function will try to
 generate unique keys and salts for you but fails because the database
 hasn't been created yet.

 it may be that wp_salt should be updated to check for WP_INSTALLING also

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39047#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list